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

Limits length of numInputs #66

Merged
merged 2 commits into from Jul 4, 2020
Merged

Conversation

nikhilgupta30
Copy link
Contributor

This pull request restricts the value of numInputs length bw 0 and 10.
if user enters negative value it converts into 0.
if user enters value greater than 10, it converts into 10 and a alert is shown stating that max value is 10.

@nikhilgupta30
Copy link
Contributor Author

nikhilgupta30 commented Oct 9, 2019

this pr is for
#1
@ajayns

@apollonian
Copy link
Contributor

Thank you Nikhil! Although, I'd be changing the message of the alert since we're not enforcing the min/max limit via the library itself.

@apollonian apollonian merged commit 1d5dd39 into devfolioco:master Jul 4, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants