Skip to content

admin_suite v0.2.8

Choose a tag to compare

@github-actions github-actions released this 23 Mar 10:50
· 21 commits to main since this release
05cb67d

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 propagationapplyOption() 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.