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

q-select can be cleared by focusing and backspace #16481

Closed
johnstrickler opened this issue Oct 17, 2023 · 1 comment
Closed

q-select can be cleared by focusing and backspace #16481

johnstrickler opened this issue Oct 17, 2023 · 1 comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@johnstrickler
Copy link

johnstrickler commented Oct 17, 2023

What happened?

The Select component can be cleared by focusing and hitting backspace.

Oct-17-2023 09-39-13

What did you expect to happen?

Hitting backspace should do nothing. I would expect the default behavior of a Select to not be clearable similar to a native select. A select has a finite amount of options which the user must choose from.

Reproduction URL

https://codepen.io/johnstrickler/pen/gOZNzyJ

How to reproduce?

  1. Go to the provided Codepen link
  2. Select an option from the select dropdown
  3. Hit backspace to clear the value

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

Chrome

Quasar info output

Operating System - Darwin(21.5.0) - darwin/arm64
NodeJs - 16.15.1

Global packages
  NPM - 8.11.0
  yarn - 1.22.19
  @quasar/cli - undefined
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages
  quasar - 2.11.10 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.2.1 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.16.2 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.2.47 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.1.6
  pinia - 2.0.34 -- Intuitive, type safe and flexible Store for Vue
  vuex - Not installed
  vite - 2.9.15 -- Native-ESM powered web dev build tool
  eslint - 8.37.0 -- An AST-based pattern checker for JavaScript.
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Quasar App Extensions
  *None installed*

Networking
  Host - ip-192-168-86-29.ec2.internal
  en0 - 192.168.86.29
  utun3 - 10.250.1.34

Relevant log output

No response

Additional context

No response

@rstoenescu
Copy link
Member

Duplicate of #16478

@rstoenescu rstoenescu marked this as a duplicate of #16478 Oct 17, 2023
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/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants