belongs-to-many-field-nova icon indicating copy to clipboard operation
belongs-to-many-field-nova copied to clipboard

#50 Fix component inside nova-dependency-container

Open tassilogroeper opened this issue 3 years ago • 0 comments

Looking at https://github.com/Benjacho/belongs-to-many-field-nova/pull/50

We have the same problem: this module belongs-to-many-field-nova does not work inside the third party nova package nova-dependency-container due to nesting.

The issue: When a form uses nova-dependency-container that contains a relation, the call to '/{resource}/options/{relationship}/{optionsLabel}/{dependsOnValue?}/{dependsOnKey?}' route fails - not finding its own component key among the fields. We just have to add the meta description of the nova-dependency-container to the query.

I found no other solution as already given in the issue mentioned above. If there is a more general solution not specifically targeting nova-dependency-container, would be nice.

tassilogroeper avatar Sep 15 '21 08:09 tassilogroeper