Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: clearable does not work for multiple selects #720

Open
joelmukuthu opened this issue Dec 17, 2024 · 0 comments
Open

Bug: clearable does not work for multiple selects #720

joelmukuthu opened this issue Dec 17, 2024 · 0 comments

Comments

@joelmukuthu
Copy link

joelmukuthu commented Dec 17, 2024

From this issue #344, it appears that clearable was designed to work also for multiple selects, but that doesn't seem to be working. Repro: https://svelte.dev/playground/eabbf59abaa24155a7126f05f2ddd5f2?version=4.2.19.

I'd expect that when clearable is set to false, the preselected item cannot be removed, be it by clicking x on the selected item or by pressing the backspace key.

Am I mistaken or is this a bug? Or is there a workaround to prevent clearing the preset value for multiple selects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant