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

Add option to validate only on-demand #70

Merged
merged 7 commits into from
Apr 8, 2018
Merged

Conversation

NewColours
Copy link
Contributor

By default the field is validated each time a key is pressed and also at time of construction - this means a field with a minimum length requirement will start in the Error state.

Setting validateOnDemand to true will make the field validate only when validate() is called.

I apologize for the messy commit history

NewColours and others added 7 commits April 3, 2018 22:26
By default the field is validated each time a key is pressed and also at time of construction - this means a field with a minimum length requirement will start in the Error state.

Setting validateOnDemand to true will make the field validate only when validate() is called.
@HITGIF HITGIF merged commit 0ba4aae into HITGIF:master Apr 8, 2018
HITGIF added a commit that referenced this pull request Apr 8, 2018
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.

2 participants