- Enhancements
- Using
$interpolateto retrieve the name of the input element. This allows the directive to work with interpolated form names. Thanks @cherrydev and @Templarian
- Using
-
Breaking Changes
- Added a more specific selector query for the input element. The input element must now also have the 'form-control' class associated with it. Thanks @martindederer
-
Enhancements
- Added
triggeroption to provide a custom trigger to validate the value. By default the trigger is theblurevent. Thanks @Templarian
- Added
-
Enhancements
- Added
showSuccessoption
- Added
-
Bug Fixes
- Does not throw an undefined error when the form is dynamically created. Thanks @murphyalexandre
- Bug Fixes
- Using inline array notation to allow the js file to be minified
- Bug Fixes
- Fixed edge case where the error class was not removed correctly after manually checking validation.
- refactorings
- checking if name attribute exists in the link function instead of the compile function