Commit graph

4 commits

Author SHA1 Message Date
Eric Liu
5c332bae5e fix(list-box): correct button/description translations based on selection count
The `ListBoxSelection` component now properly handles
translations for the clear button based on the selected items:

- Fix `buttonLabel` and `description` to use the same translation logic
- Add tests for custom translations in both `ComboBox` and `MultiSelect`
2025-03-23 11:12:48 -07:00
Eric Liu
dd1338ffc4
fix(list-box-selection): fix aria-label for clear button (#2134)
`ListBoxSelection`, used by `MultiSelect` and `ComboBox`, currently  
applies the wrong `aria-label` for the clear selection button. It uses
the `translateId` (e.g., `"clearAll"`) instead of the user-friendly copy.
2025-03-22 12:59:16 -07:00
Eric Liu
f200dadb97 test(multi-select): more unit tests 2025-03-20 17:34:20 -07:00
Paweł Malinowski
e165fa3a87 test(multi-select): add test suite 2024-11-30 10:38:33 -08:00