-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested Dependencies #35
Comments
Do you solve it? |
@boris-shakhverdyan I instead leveraged the default 'dependsOn' function. Instead of hiding the field in some cases, the field is always there, but inside the 'dependsOn' callback I am using |
DependencyContainer::make([ |
I am trying to build a somewhat complex form, which has several dependency containers.
Let's use the examples 'provider' and 'service'. Let's say that each provider has it's own list of services. This is easy to achieve with this package.
The problem is if I want to add a third field that depends on the value of the service selected.
If I use
->dependsOn('service', 'value')
this does not seem to pick up the value and does not show the container when it should.Is there some prefix I need to add to 'service' since it's inside a dependency container?
Any suggestions are much appreciated.
The text was updated successfully, but these errors were encountered: