Open SubniC opened 6 months ago
Hi,
Same issue here, please fix
Regards
Note that if you clone the field and you put one in the dependable and another one outside it works...
The issue is related to Http/Controllers/AssociatableController This class call availableFields method that returns only first level fields and doesn't returns fields contained into panels. So a 404 is triggered. It looks tricky to be able to solve this
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:
Issue Description: When I encapsulate
BelongsTo
orMorphTo
relationship fields within theDependablePanel
container, these fields do not load their respective values. Conversely, when these relationship fields are placed outside of theDependablePanel
container, they function as expected and load values without any issues.Steps to Reproduce:
BelongsTo
orMorphTo
relationship fields inside aDependablePanel
container.DependablePanel
container and note that they now correctly load their values.Expected Behavior: Relationship fields such as
BelongsTo
andMorphTo
should load their values correctly even when placed inside theDependablePanel
container, maintaining consistency with their behavior outside the container.Actual Behavior:
BelongsTo
andMorphTo
relationship fields fail to load their values when nested inside aDependablePanel
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