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

Number input #167

Open
wmertens opened this issue Jul 22, 2016 · 1 comment
Open

Number input #167

wmertens opened this issue Jul 22, 2016 · 1 comment
Labels

Comments

@wmertens
Copy link
Contributor

It would be good if FormInput could handle numeric input. Caveat: The number needs to be parsed with the browser locale.

It's not enough to simply send the change events through a Number() call, because then you can't type "12.3", because the dot would be stripped when you type it.

FormInput should accept a number type, and provide onChange events with the value as a Number.

@jossmac jossmac added the feature label Sep 9, 2017
@jossmac
Copy link
Member

jossmac commented Sep 9, 2017

@wmertens would love a PR for this 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants