Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Releases: ghiscoding/angular-validation

Fixed a bug with ngDisabled not interpreted

05 Jun 03:12
Compare
Choose a tag to compare
  • Fixed a bug with ngDisabled not being interpreted before observing it (ng-disabled="vm.type == 1" would give false result because it was not being interpreted), added Protractor Test for this behavior in 2Forms page.
  • Added displayOnlyLastErrorMsg in the list of Global Options.
  • Cleaned some code

Added isolated scope - Fixed onBlur performance issue that affected Remote validation

03 Jun 03:49
Compare
Choose a tag to compare
  • Added possibility to use own isolated scope (issue #37 and #26).
  • Fixed an implementation issue found from last revision (issue #35).
  • Fixed email validation (issue #38).
  • Fixed a performance issue found with onBlur which would run as much validations as there was characters inside the input when onBlur was called (abcdef => would make 6 validations) and this was extremely costly with a Remote validation call.
  • Update the code of Remote validation to also accept the "As" alias "remote:vm.customRemoteValidation".
  • Finally added and updated a few Protractor tests to cover all of the above and more.

Added enhancement #35 - PreValidate the Form on page load.

30 May 20:20
Compare
Choose a tag to compare
  • Added enhancement #35 - PreValidate the Form, display all errors on page load.

Enhancement #34 to add Remote Validation and updated Protractor to cover this new feature.

19 May 21:15
Compare
Choose a tag to compare

Added Protractor tests and fixed issue #36

18 May 02:53
Compare
Choose a tag to compare
  • Added full End-to-End tests for all available Validators with Protractor for both the Directive & Service
  • Fixed issue #36 where the bower.json scripts order was incorrect
  • Fixed a few minor bugs found when writing Protractor tests
  • Changed all locale translations :param with {0}, {1} to follow a better standard as C# String.Format()

Fixed bug #16 and also added option to display last error only

06 May 01:51
Compare
Choose a tag to compare
  • Added option to display only last error message instead of all messages at once.
  • Fixed a bug (possibly issue #16) where changing route on View/Controller would make the ValidationSummary fail when coming back to original View/Controller, this bug was associated to the fact that the ValidationSummary kept growing from Controller to Controller, now this ValidationSummary is wipe out as soon as we detect a route change.

Added friendly-name attribute on element

04 May 02:00
Compare
Choose a tag to compare
  • Added friendly-name attribute on element, see ValidationSummary for more details

Moved Alt Text inside the $translate promise

30 Apr 03:27
Compare
Choose a tag to compare
  • Moved the Alternate Text inside the $translate promise to fix some non-translated sometime appearing as alternate text (mostly visible in the Plunker because that being slower)
  • Made Gulp a lot more automated
  • Cleaned up some code

Fixed issue #26 Dynamic Form and #28 unbind blur affect other modules

22 Apr 03:04
Compare
Choose a tag to compare
  • Fixed issue #26 - validation of forms inside ng-repeat
  • Fixed again issue #28 - unbind all 'blur' in cancelValidation() might affect other modules.

Fixed issue #28 - Unbind all 'blur' in cancelValidation() might affect other modules

21 Apr 01:26
Compare
Choose a tag to compare
Fixed issue #28 - unbind all 'blur' affect modules

- Fixed issue #28 - unbind all 'blur' in cancelValidation() might affect
other modules