-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hello,
I am currently integrating DependablePanel. The package has been functioning well in terms of dependencies and compatibility with my Laravel and Nova versions. However, I've encountered an issue related to relationship fields.
Environment:
- PHP Version: 8.2
- Laravel Version: 10.44
- Nova Version: 4.22.1
- nova-dependable-panel: 1.2.3
Issue Description:
When I encapsulate BelongsTo or MorphTo relationship fields within the DependablePanel container, these fields do not load their respective values. Conversely, when these relationship fields are placed outside of the DependablePanel container, they function as expected and load values without any issues.
Steps to Reproduce:
- Create a basic Nova resource with no additional fields except for the ones mentioned.
- Add
BelongsToorMorphTorelationship fields inside aDependablePanelcontainer. - Observe that the relationship fields do not load their values when placed inside the container.
- Move the relationship fields outside the
DependablePanelcontainer and note that they now correctly load their values.
Expected Behavior:
Relationship fields such as BelongsTo and MorphTo should load their values correctly even when placed inside the DependablePanel container, maintaining consistency with their behavior outside the container.
Actual Behavior:
BelongsTo and MorphTo relationship fields fail to load their values when nested inside a DependablePanel container, although they work as intended when placed outside of it.
I am looking forward to any guidance or updates regarding this issue. Please let me know if further information or clarification is needed.
Thank you for your assistance.
Best regards,
Miguel