feat: add MultiSelect component to admin-ui#5200
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Adds a new
MultiSelectform component to@webiny/admin-ui. It shares the same trigger design, size and variant props, and form field API (label, description, validation, note) as the existingSelectcomponent, but opens a checkbox-based dropdown that allows selecting multiple values at once. Selected values are displayed as a comma-separated list in the trigger by default. SetshowSelectionCountto show a compact "3 items selected" summary instead.Changelog
Added MultiSelect Component to admin-ui
A new
MultiSelectcomponent is now available in@webiny/admin-ui. It works like the existingSelectcomponent but allows picking multiple values via a checkbox dropdown. The trigger displays all selected labels inline by default; enableshowSelectionCountto show a compact count summary instead (e.g. "3 items selected").Squash Merge Commit