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

Clicking on the label won't focus the Multiselect component unless it's searchable #438

Open
mrleblanc101 opened this issue Jan 13, 2025 · 1 comment

Comments

@mrleblanc101
Copy link

mrleblanc101 commented Jan 13, 2025

Version

  • Vue version: 3

Description

Clicking on the label won't focus the Multiselect component unless it's searchable.
If it's searchable, it will put the focus (and text cursor) in the search field, which is the correct behavior.
But if it's not searchable, clicking on the label should focus the component so that it can be opened using the spacebar like a native select.

Here is a GIF:
2025-01-12 23 43 42

Demo

https://jsfiddle.net/mrleblanc101/vfmg2h4a/5/

@mrleblanc101
Copy link
Author

Added the jsfiddle

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