Skip to content

Releases: sagrawal31/bootstrap-angular-validation

Preference to [bs-form-group], option to suppress warnings & unique error containers

20 Apr 08:16
Compare
Choose a tag to compare

Improvements

  1. Giving preference to [bs-form-group] selector over .form-group to support other template design #29
  2. Uniquely searching the error container based on the id attribute of the input element to be able to show errors for every input element grouped in a single form-group element
  3. Converted two error messages to warnings to avoid noise in Google analytics
  4. Added an option to suppress those warnings

Code diff: v1.0.6...v1.0.7

Ability to distinguish between different types of errors

20 Apr 11:19
Compare
Choose a tag to compare

New Feature

  1. Ability to distinguish between different types of errors #21

Code diff: v1.0.5-1...v1.0.6

Added minified files for bower

26 Feb 06:27
Compare
Choose a tag to compare
v1.0.5-1

Version 1.0.5-1

Added support for adding filters for messages

15 Jan 11:27
Compare
Choose a tag to compare

New Feature

  1. Added message filter support. Thanks to @ShaneYu for the contribution.

Code diff: v1.0.4...v1.0.5

Option to disable form validation and optional flag to mark form pristine after submit

26 Oct 05:19
Compare
Choose a tag to compare

Fixes & Improvements

  1. Adding the flag bs-no-validation on form will disable the bootstrap angular validation on the form and fallback to HTML5 validation (if present)
  2. Adding a flag bs-pristine-on-submit on form will change the form's state to pristine instead of submitted and will hide all the validations. This is helpful when a form is used multiple times (without page change) and we want to hide the validation after each successful submission.

Code diff: v1.0.3-1...v1.0.4

Removing success class in error validation

26 Oct 02:10
Compare
Choose a tag to compare

Fixes

  1. Success class was never removed if validation fails after successful validation

Code diff: v1.0.3...v1.0.3-1

Fixing error when there is no parent form

05 Oct 05:12
Compare
Choose a tag to compare

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

06 Sep 07:52
Compare
Choose a tag to compare

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

Globally customisable error messages and fixed removing tooltip error messages on page change

21 Jul 05:06
Compare
Choose a tag to compare

New Features

  1. Option to globally customize default error message #10

Bug fixes

  1. Removing tooltip based error messages (if append to body set to true) on page change.

Code diff: v1.0.0...v1.0.1

Various configuration options, tooltip message display, single field validation, broken down to different files

17 Jul 15:27
Compare
Choose a tag to compare

Welcome to the big release. This release contains various new features, performance improvements, and bug fixes along with the detailed documentation to make this module more flexible and easy to use.

Checkout below points to see what's new.

New Feature

  1. bs-validation directive can now be worked on individual elements without the parent form.
  2. Customization options for when to display the validation state: blur (default), submit & display
  3. Option to display validation error messages as tooltip (requires ui-bootstrap's $uibPosition service)
  4. Various global customization option for validation states

Enhancements

  1. The minified files are broken down to separate files to include them as needed (also one single file including all code)
  2. Only registering helper prototype methods either if there is no default implementation or jQuery is not available
  3. Merged findAll() & findOne() DOM methods to find().

Code diff: v0.0.6...v1.0.0