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

Releases: ghiscoding/angular-validation

Rename errorMessageVisible flag to isErrorMessageVisible.

19 Jan 17:27
Compare
Choose a tag to compare
v1.5.15

Rename errorMessageVisible to isErrorMessageVisible

Merge to add errorMessageVisible in updateErrorMsg

19 Jan 04:44
Compare
Choose a tag to compare

Merged code to add errorMessageVisible in updateErrorMsg. Thanks to @Gusi
Basically, it had a boolean flag of ctrl.errorMessageVisible that is available on the element being validated.

issue #139 isValidationCancelled tweak

29 Dec 19:00
Compare
Choose a tag to compare

Make sure the element or form element exist before calling isValidationCancelled on that same element.

Fix a small issue introduced by last commit

16 Dec 00:19
Compare
Choose a tag to compare

Angular Form overwritten with simple object in some rare occasions

Fix checkFormValidity with formName argument

15 Dec 17:40
Compare
Choose a tag to compare

CheckFormValidity was not working in all cases, there was a problem inside the function getElementParentForm( ) which was returning null very often. This is due to the fact that myInputElement.form only works with input element and so if user had validation on let say a <div> or any other Angular element that isn't an input then the getElementParentForm( ) was returning null which was in turn making the checkFormValidity($scope.formName) and $validationSummary not working correctly.

Quick fix for UI Router on issue #137

14 Dec 05:49
Compare
Choose a tag to compare

I had a Global Option named resetGlobalOptionsOnRouteChange that was only working with Angular Router with a watch on $routeChangeStart. This was obviously not working with UI Router, so I added a second watch on $stateChangeStart to fix a found issue with UI Router. This will hopefully address the issue #137

Bump version for: Updated main entry at package.json to work with WebPack

14 Oct 16:55
Compare
Choose a tag to compare

Updated main entry at package.json to work with WebPack

14 Oct 16:47
Compare
Choose a tag to compare

Add Dutch and Romanian #134

04 Oct 00:54
Compare
Choose a tag to compare

Thanks @ jdriesen for providing the following 2 new locales: Dutch and Romanian

Full validation on Dates (including leap year and calendar date validation)

24 Sep 16:40
Compare
Choose a tag to compare
  • Prior to this change, all Date validators had basic tests on them and it wasn't validating leap year (now it does).
  • Now it does check for leap year and also requires to be a valid calendar date
  • Thanks @jdriesen for providing proper date regex for Euro, I then adapted them for US and found ISO later.
  • NOTE: I deprecated the use of any short dates (that is year with 2 digits, date_euro_short, date_us_short) because I spent too much time trying to adapt regex I found. If someone can fix them, please make a PR