platform
platform copied to clipboard
Opt-in behavior preserving filter on selection in Multi-Select Combo Box
trafficstars
Description
A toggle in the Multi-Select Combo Box component that preserves (i.e. doesn't clear) the typed-in filter when an item is selected.
Use cases
As a user I want the filter string to remain uncleared when I select items So that I can quickly select multiple items that match the same filter
Links
Feature request ticket: https://github.com/vaadin/web-components/issues/5930
Acceptance criteria
- [ ] Java setter:
setPreserveFilterOnSelection(boolean), and corresponding getter - [ ] WC/React property/attrib:
preserve-filter - [ ] Default is false, i.e. current behavior where the filter is cleared on selection
- [ ] The filter is still cleared on Esc and blur, as with current default behavior
General criteria
-
[ ] APIs reviewed
-
[ ] UX/DX tests in Alpha
-
[ ] Documentation: To be added as a subsection under https://vaadin.com/docs/latest/components/multi-select-combo-box#selection (add link here when done)
-
[ ] How to test?
-
[ ] Limitations:
Security
- [x] Security implications have been taken into account (elaborate or link to product security requirement specification if there are implications)