Skip to content

Add multiselect field type with SuperBoxSelect and configurable separator#218

Open
jenswittmann wants to merge 1 commit intomodmore:masterfrom
jenswittmann:feature/multiselect-field-type
Open

Add multiselect field type with SuperBoxSelect and configurable separator#218
jenswittmann wants to merge 1 commit intomodmore:masterfrom
jenswittmann:feature/multiselect-field-type

Conversation

@jenswittmann
Copy link
Copy Markdown

@jenswittmann jenswittmann commented Apr 11, 2026

What does it do ?

Bildschirmaufnahme.2026-04-11.um.12.10.18.mov
  • Add new clientconfig-multiselect xtype backed by MODX native SuperBoxSelect component
  • Add clientconfig.multiselect_separator system setting (default: ,) to control the separator stored in the database
  • Add translations for all supported languages (de, en, fi, fr, nl, pt, pt-br, ru, sv)

Why is it needed ?

There is currently no multiselect field available.

Test

Install this package using the MODX Package Manager: clientconfig-2.6.0-rc1.transport.zip

Related issue(s)/PR(s)

#61

:copilot: This PR was helped along a little by Claude Code (AI).

…ator

- Add new `clientconfig-multiselect` xtype backed by MODX's native
  SuperBoxSelect component (search, tag-pill UI, keyboard navigation)
- Parse options string (label==value||…) into a local ArrayStore
- Fix duplicate hidden inputs on save by reading getValue() per field
- Add `clientconfig.multiselect_separator` system setting (default: ,)
  to control the separator stored in the database
- Expose separator and admin flag to the JS context in home controller
- Add expand-arrow CSS for the dropdown trigger button
- Add translations for all supported languages (de, en, fi, fr, nl,
  pt, pt-br, ru, sv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant