Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

q-input type number: length of the input field changes when min and max are set #17772

Open
nkonts opened this issue Jan 18, 2025 · 0 comments
Open
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

@nkonts
Copy link

nkonts commented Jan 18, 2025

What happened?

A default input field has a certain length. When I create another one that has the attributes min and max set, the length of the input field suddenly changes.

What did you expect to happen?

The length of the input field should stay the same and be the default length if not specified otherwise.

Reproduction URL

https://codepen.io/nkonts/pen/wBwxmXG

How to reproduce?

Code example is shown in the reproduction URL:

      <q-input type="number"></q-input>
      <q-input type="number" min="0" max="1"></q-input>

Flavour

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

Areas

Components (quasar)

Platforms/Browsers

No response

Quasar info output

Relevant log output

Additional context

I am normally using quasar by using a python library, so its hard for me to provide additional info. This behaviour was discovered here

@nkonts nkonts added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Jan 18, 2025
@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 Jan 18, 2025
# for free to join this conversation on GitHub. Already have an account? # 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

1 participant