dillingham/nova-conditional-fields
Dillingham/nova-conditional-fields adds conditional logic to Laravel Nova forms, letting fields show, hide, or toggle based on other field values. Build smarter, less cluttered resources with reactive forms and fewer custom scripts.
requires_shipping, entity_type, payment_method) makes them relevant. That is a UX/quality decision you can make once and reuse across resources.Consider it when:
Look elsewhere when:
For executives (one paragraph): This is a tiny, MIT-licensed community add-on for our Laravel Nova admin panel that lets a field appear only when it is relevant — for example, showing shipping details only when an order requires shipping. The business case is efficiency and data quality in internal tooling: simpler forms for ops and support staff, fewer data-entry errors, fewer correction cycles. It is free, low-risk to evaluate, and the underlying pattern is something we would want regardless of vendor. However, the package itself is marked work-in-progress and has not been released since 2019, so we should treat it as a design reference and a short spike, not a long-term dependency on a paid platform that has since moved on.
For engineering (the ask): Run a time-boxed spike (roughly 1–2 days) to evaluate the package against our Nova version and either (a) fork and vendor it with tests if the field API still matches, or (b) reimplement the conditional show/hide behavior natively using our existing field lifecycle hooks. Prefer (b) if there is any doubt about compatibility — the logic is small enough that owning it outright is cheaper than tracking an abandoned dependency. Regardless of path, pair conditional visibility with server-side validation so hidden fields cannot be submitted with stale or invalid values, and add test coverage for each conditional rule so form behavior is regression-safe.
Decision requested: Approve a bounded spike with a default outcome of an in-house implementation; adopt the package only if the spike shows it works unmodified on our Nova version and can be vendored with tests.
How can I help you explore Laravel packages today?