Skip to content

Option to define trigger on elements, option to disable validation state and other fixes

Compare
Choose a tag to compare
@sagrawal31 sagrawal31 released this 06 Sep 07:52
· 31 commits to master since this release

New Features

  1. Added option to define trigger state for displaying validation state using bs-trigger attribute
  2. Added option to disable displaying validation state on input elements & parent form elements using bs-no-validation directive

Improvements

  1. Using cleaner approach to automagically add validation directive on input elements

Breaking Change

  1. If you are using bootstrap-angular-validation-interceptor.min.js file then that file is no longer needed. (Just remove it and no replacement is needed)
  2. The above said improvement will enable displaying validation state to all input elements with ng-model directive unless the bs-no-validation attribute is present

Fixes

  1. Properly triggering validation state change on change of ngModel errors
  2. Fixed adjusting tooltip arrow

Code diff: v1.0.1...v1.0.2