You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Dependent searchable select field type (:dependent_select) — cascading dropdowns where a child field's options filter by the selected parent value. Uses parent_field: option and [label, value, group] collection triples.
Stimulus entry point (admin_suite_application.js) — automatically imports and registers all 12 AdminSuite Stimulus controllers on window.Stimulus.
parent_field attribute on FieldDefinition for linking dependent fields.
Fixed
Stimulus controllers not loading — engine controllers were pinned via importmap but never imported. Added explicit entry point in layout via <script type="module">.
Searchable select change propagation — applyOption() now dispatches a change event on the hidden input, enabling dependent field chaining.
Security
New dependent_searchable_select_controller.js uses safe DOM construction (createElement/textContent/appendChild) instead of innerHTML template literals.