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

Allow empty input on NumberInput #13

Open
richard-engineering opened this issue Sep 12, 2016 · 1 comment
Open

Allow empty input on NumberInput #13

richard-engineering opened this issue Sep 12, 2016 · 1 comment
Labels

Comments

@richard-engineering
Copy link

richard-engineering commented Sep 12, 2016

Hello,

I'm using NumberInput because it strips out letters and is convenient. However I noticed that if I delete the number it does not in fact update the link associated with it. I use validate.js against the json object everything links to when the user submits to validate input. Thus it can result in differences between what is shown on the screen and the data. It would be good to have a prop on NumberInput to allow empty input to change the link (can set it to undefined or null).

Thanks!

@gaperton
Copy link

Setting it to null could be a good idea, thanks. I will make corresponding change.

@gaperton gaperton added the bug label Oct 4, 2016
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