alexwenzel/nova-dependency-container
Adds dependency containers to Laravel Nova forms, letting you show or hide groups of fields based on the value of another field. Define conditional logic once and keep complex forms clean, reactive, and free of hand-written JavaScript.
nova-dependency-container lets you conditionally display groups of Laravel Nova fields based on the value of another field. Wrap fields in a DependencyContainer and declare which field and value trigger visibility—Nova handles the rest, keeping forms clean and context-aware.
DependencyContainer::make()
->dependsOn('type', 'custom')
->withFields([ Text::make('Custom Value') ])
dependsOn() API for any field typeHow can I help you explore Laravel packages today?