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

QInput: cannot input digit "1" with mask "11##" #15624

Open
cohlar opened this issue Mar 26, 2023 · 2 comments
Open

QInput: cannot input digit "1" with mask "11##" #15624

cohlar opened this issue Mar 26, 2023 · 2 comments
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

@cohlar
Copy link

cohlar commented Mar 26, 2023

What happened?

When I use a mask "####" on QInput where the first two digits are defined (for example "11##"), I cannot input the same digits as the first two digits (in my example, if you try to input "1", it won't work).

What did you expect to happen?

To be able to input the same digits as the first two digits.

Reproduction URL

https://stackblitz.com/edit/quasarframework-9m4kg8?file=src/pages/IndexPage.vue

How to reproduce?

  1. Go to the reproduction link
  2. Try to type "1" in field "SKU"
  3. You'll notice "1" is not inputted. Any other digit would work just fine.

Flavour

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

Areas

Components (quasar)

Platforms/Browsers

Chrome

Quasar info output

Operating System - Windows_NT(10.0.22621) - win32/x64
NodeJs - 18.12.1

Global packages
  NPM - 9.1.1
  yarn - 1.22.19
  @quasar/cli - 1.3.2
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages
  quasar - 2.11.6 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.2.0 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.15.11 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.2.45 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.1.6
  pinia - 2.0.32 -- Intuitive, type safe and flexible Store for Vue
  vuex - Not installed
  vite - 4.1.1 -- Native-ESM powered web dev build tool
  eslint - 8.36.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
  @quasar/quasar-app-extension-testing - 2.1.0 -- A Quasar App Extension for managing Test Harnesses
  @quasar/quasar-app-extension-testing-unit-vitest - 0.1.2 -- A Quasar App Extension for running tests with Vitest

Networking
  Host - LAPTOP-GALIM
  Wi-Fi - 192.168.100.12
  vEthernet (WSL) - 172.20.80.1

Relevant log output

No response

Additional context

No response

@cohlar cohlar added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Mar 26, 2023
@github-actions github-actions bot added area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite labels Mar 26, 2023
@cohlar
Copy link
Author

cohlar commented Mar 26, 2023

@pdanpdan I just moved my question from Discord to github so it's easier to track. Thanks for your help.

@cohlar
Copy link
Author

cohlar commented May 1, 2023

Hi, just wanted to check if there may be any workaround here 😅
Thanks for your help!

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

1 participant