Select, use-input in add mode select current value on enter if option menu is open #16514
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/vite-plugin
Bugs related to Vite usage with Quasar
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
I have a q-select with
use-input
,new-value-mode="add-unique"
, a v-model and an options arrayif i press enter to submit my new value while the option menu is open and my current value is visible in the menu then the current value will be selected instead of my new value will be submitted.
new-value
will not be emitted too.Also happen in quasar v1
Video example: https://streamable.com/27xjru
What did you expect to happen?
My new value should be set into my v-model.
Reproduction URL
https://jsfiddle.net/vh7f1aL5/2/
How to reproduce?
use-input
,new-value-mode="add-unique"
, a v-model and an options arrayFlavour
Vite Plugin (@quasar/vite-plugin)
Areas
Components (quasar)
Platforms/Browsers
Firefox, Chrome
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: