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

The "disabled" property does not work for the case when a user deletes selected options with the keyboard. #426

Open
dima-sasg opened this issue Sep 5, 2024 · 0 comments

Comments

@dima-sasg
Copy link

Version

  • Vue version: 3

Description

Preconditions: Multiselect has selected options, and the Multiselect has prop disabled set to true.
If, in this case, a user clicks on the Multiselect area (which is greyed out in case the component is disabled) and after that presses the "backspace" or "delete" key on the keyboard, the result will be that the selected option is deleted and not be selected anymore, you can repeat pressing the "backspace" key till all the options are deleted.

Is this intended behavior? Since, in my understanding, the disabled prop should act as the Multiselect is not responsive to user actions in this case. Thank you.

Demo

https://jsfiddle.net/somethinglikethis/d5kncw0g/5/

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