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

Input range starts with a maximum value of 100 even with static attributes #4024

Closed
nym21 opened this issue Jun 30, 2021 · 2 comments
Closed
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. has workaround A workaround has been found to avoid the problem 🐞 bug Something isn't working

Comments

@nym21
Copy link

nym21 commented Jun 30, 2021

Version

3.1.2

Reproduction link

https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aW5wdXQgdHlwZT1cInJhbmdlXCIgdmFsdWU9XCI1MDBcIiBtaW49XCIwXCIgbWF4PVwiMTAwMFwiIC8+XG48L3RlbXBsYXRlPiJ9

Steps to reproduce

Just use this code

<template>
  <input type="range" value="500" min="0" max="1000" />
</template>

What is expected?

For the input to start with a value of 500

What is actually happening?

The input has a value of 100

@posva posva added 🐞 bug Something isn't working 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. has workaround A workaround has been found to avoid the problem labels Jun 30, 2021
@posva
Copy link
Member

posva commented Jun 30, 2021

There was #2325 but it was only referring to v-model. There is still an open PR: #2353

Here is a workaround

@nym21
Copy link
Author

nym21 commented Jun 30, 2021

Thanks a lot !

@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. has workaround A workaround has been found to avoid the problem 🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants