This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
Releases: ghiscoding/angular-validation
Releases · ghiscoding/angular-validation
Fixed a bug with ngDisabled not interpreted
- 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
- 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.
- 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.
See the new feature under Remote Validation
Added Protractor tests and fixed issue #36
- 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
- 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
- Added friendly-name attribute on element, see ValidationSummary for more details
Moved Alt Text inside the $translate promise
- 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
Fixed issue #28 - Unbind all 'blur' in cancelValidation() might affect other modules
Fixed issue #28 - unbind all 'blur' affect modules - Fixed issue #28 - unbind all 'blur' in cancelValidation() might affect other modules