Skip to content

Propagate html5 validation properties - #124

Merged
wehriam merged 1 commit into
pushtell:masterfrom
hugo:feature-pass-oninvalid-prop-to-input
Jun 19, 2017
Merged

wehriam merged 1 commit into
pushtell:masterfrom
hugo:feature-pass-oninvalid-prop-to-input

Conversation

@hugo

@hugo hugo commented Jun 19, 2017

Copy link
Copy Markdown
Contributor

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
6 of 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.

2 participants