-
Notifications
You must be signed in to change notification settings - Fork 89
fix: do not fire custom-value-set on input blur or outside click #8308
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
Conversation
ebd3d49 to
a438139
Compare
packages/multi-select-combo-box/src/vaadin-multi-select-combo-box-internal-mixin.js
Outdated
Show resolved
Hide resolved
|
This change also prevents selection of list items on outside click and blur. Is that intended? Screen.Recording.2024-12-10.at.16.17.22.mov |
Checked this and it's also prevented in earlier versions e.g. |
|
Added tests to verify that focused item isn't selected on blur / outside click. |
|
…) (#8313) Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>



Description
Depends on #8301
Fixes #8067
Fixes #3645
Changed the MSCB logic to discard custom value from the internal combo-box on input blur with Tab or outside click.
This would require user to explicitly commit custom value by pressing Enter after typing the filter in the input.
Type of change