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

QSelect set readonly and use-input,focus to field,then press backspace and options which selected would be deleted。 #15808

Closed
xiaojun777 opened this issue May 10, 2023 · 1 comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vue-cli-plugin kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@xiaojun777
Copy link

What happened?

QSelect set readonly and use-input,focus to field, then press backspace and options which selected would be deleted。

What did you expect to happen?

in readonly state, no option can deleted by user input.

Reproduction URL

https://codepen.io/onlldvei-the-encoder/pen/LYgdMOE

How to reproduce?

click on select
press backspace on keyboard

Flavour

Vue CLI Plugin (vue-cli-plugin-quasar)

Areas

Components (quasar)

Platforms/Browsers

Chrome

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@github-actions github-actions bot added area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vue-cli-plugin labels May 10, 2023
@xiaojun777 xiaojun777 changed the title QSelect set readonly and use-input,focus to field,then press backspace and options which selected would be deleteld。 QSelect set readonly and use-input,focus to field,then press backspace and options which selected would be deleted。 May 11, 2023
rstoenescu added a commit that referenced this issue May 12, 2023
…15808 (#15819)

* fix(QSelect): ignore most key commands when QSelect is not editable #15808

* Update QSelect.js

---------

Co-authored-by: Razvan Stoenescu <razvan.stoenescu@gmail.com>
@rstoenescu
Copy link
Member

Fix will be available in Quasar 2.12.1 and 1.22.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vue-cli-plugin kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants