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 Unable to enter a decimal #7545

Closed
qq541167695 opened this issue Aug 23, 2016 · 4 comments
Closed

input Unable to enter a decimal #7545

qq541167695 opened this issue Aug 23, 2016 · 4 comments

Comments

@qq541167695
Copy link

<input type="number" step=".01" min={1} max={9999} defaultValue={ 1.00 } />

the input Unable to enter a decimal

@imbhargav5
Copy link

Can you please elaborate the issue ? I am able to enter decimals in the input.

https://codepen.io/bhargav175/pen/oLRdJp

@thysultan
Copy link

@bhargav175 on the codepen, when you type 1.0 it adds the '1' then the cursor shifts to the beginning of the input such that i end up typing '0.1'.

@keyz
Copy link
Contributor

keyz commented Aug 23, 2016

Thanks for reporting! It should be a duplicate of #7253.

@zpao
Copy link
Member

zpao commented Aug 23, 2016

Yup, looks like the same core issue and there's a bunch of discussion over there. Let's close this.

@zpao zpao closed this as completed Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants