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

Propagate html5 validation properties #124

Merged
merged 1 commit into from
Jun 19, 2017
Merged

Propagate html5 validation properties #124

merged 1 commit into from
Jun 19, 2017

Conversation

hugo
Copy link
Contributor

@hugo hugo commented Jun 19, 2017

Pass onInvalid and novalidation to the underlying input to allow disabling the browser default validation behavior, and hooking into the invalid event to provide custom handling.

Motivation and Context

Sometimes the browser default behaviour when an input in invalid is undesired.

How Has This Been Tested?

Test suit run, example added to examples page demonstrating use.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Pass onInvalid and novalidation to the underlying input to allow
disabling the browser default validation behavior, and hooking into the
invalid event to provide custom handling.
@wehriam wehriam merged commit c9ca342 into pushtell:master Jun 19, 2017
@hugo hugo deleted the feature-pass-oninvalid-prop-to-input branch June 19, 2017 15:29
@wehriam wehriam mentioned this pull request Jun 19, 2017
8 tasks
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