nelsonomuto / angular-ui-form-validation

Directives for angularjs field validation
http://nelsonomuto.github.io/angular-ui-form-validation
MIT License
180 stars 51 forks source link

Validate on blur unless validateWhileEntering is true for better UX #43

Closed nelsonomuto closed 9 years ago

nelsonomuto commented 9 years ago

Currently it is a bit rude that while you type your email address, you get prompted that it is invalid before you finish typing. Looking to move the trigger for validation for such scenarios to a blur vs keyup event.

lucknerjb commented 9 years ago

Hey Nelson, first of all, love the plugin!

Delaying validation is exactly what I am looking to do. Do you have any idea when this would be ready to use?

nelsonomuto commented 9 years ago

thanks, hopefully by next weekend if not sooner

nelsonomuto commented 9 years ago

added a feature branch for this and began trying to tackle the issue: https://github.com/nelsonomuto/angular-ui-form-validation/tree/feature/onBlurValidation

nelsonomuto commented 9 years ago

Need to add functionality for doing this for dynamic validation as well as update gh-pages

nelsonomuto commented 9 years ago

@lucknerjb you should be good to go