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

type="number" turns everything into an integer value #38

Open
JackAdams opened this issue May 31, 2015 · 2 comments
Open

type="number" turns everything into an integer value #38

JackAdams opened this issue May 31, 2015 · 2 comments

Comments

@JackAdams
Copy link
Owner

JackAdams commented May 31, 2015

What about using something like parseFloat instead of parseInt?

@dpatte
Copy link

dpatte commented Jun 25, 2015

At this point in time, all my fields that are editable "number"s are ints. I actually use parseInt when using forms to collect these numbers. If your switched "number"s to use parseFloat instead, it would be an issue for me. maybe you could have type="float" type="int" options instead?

@JackAdams
Copy link
Owner Author

Good point. I won't change parseInt to parseFloat.

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

2 participants