designsystemet
designsystemet copied to clipboard
Combobox - selecting a filtered value resets the input
Description of the bug
When filtering options in a combobox and selecting a value I'd expect it not to remove the searchstring as it does now. If the list is long and I want to select all the values that starts with a specific pattern I would have to filter again and again. In addition to this you won't be sent back to the top of the list, you'll notice this in a longer list of options.
Steps To Reproduce
- Go to https://storybook.designsystemet.no/?path=/docs/felles-combobox--docs
- Find the multiple-example
- Type 'T' and you should get two matches
- Choose 1 of the values
- At this point the inputfield has been reset and if you wanted to choose both values starting with 'T' you would either have to filter again or find it manually by scrolling.
Additional Information
No response