Problem/Motivation

Make it easier to find items to select, and see which ones are selected.

Proposed resolution

Add a quick search field above the checkboxes.
Show selected items under the scroll container.

Config split UI with filter

Remaining tasks

Review MR.

User interface changes

As described.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mortona2k created an issue. See original summary.

mortona2k’s picture

Title: Add quick sort to config item fields » Add search filter to config item fields
Issue summary: View changes
StatusFileSize
new58.23 KB
bircher’s picture

Status: Active » Closed (won't fix)

Thanks for opening this feature request.
But we already added chosen and select2_all to composers suggest section.
I don't think adding 330 lines of code and mostly js is the best course of action when there are modules purpose made that make input lists more approachable.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

mortona2k’s picture

I don't think the UX is as good with Chosen or Select2 All. For example, you can't filter and then click on a few items. You have to re-type the filter each time.

I can understand if you don't want this much custom ui code being added though.

bircher’s picture

Yea, maybe there is better way to do it than chosen or select2 all, there are other modules that address this kind of concern too.
I would be happy to add a better one to composer's suggest section or even feature it on the project page. But I don't think it should be the concern of config split. I know UI/UX is important and we do checkboxes already as an improvement over a multi select list. But I think further improvements are out of scope.

Other libraries can be added through form alters if you want to maintain it in a contrib module. If you do so I would adapt \Drupal\config_split\Form\ConfigSplitEntityForm::useSelectList so that your module is compatible with chosen or select2 all.