Tags: XduXmy/angular-validation
Tags
Fixed an issue with 3rd party single object
- Fixed an issue with 3rd validation when an object was disguised as an
array and was not triggering a $scope.$watch, so the validation was
never kicking in. For example the 3rd party package "Dropdown
Multiselect" when setting the option of "selectionLimit" to 1 is
returning an array while in fact it's a an object. It's returning this
`[id: 1, label: 'John']` but in reality this is an object (not an array)
and should be this `{id: 1, label: 'John'}` and so because of that, the
$scope.$watch never kicks in.
- Also added a international phone number validation
Breaking Change rename ValidationService issue ghiscoding#107 - new 1.5.x branch has a breaking change, which is the fix of the uppercase on ValidationService object (instead of validationService which was wrong has mentioned in issue ghiscoding#107). - added angular-validation-ghiscoding to NPM and fixed the .npmignore
Enhancement ghiscoding#100-101 new Global Options - Enhancement ghiscoding#100, add Global Option (errorMessageSeparator) for a Separator between error messages. - Enhancement ghiscoding#101, add Global Option (preValidateValidationSummary) to disable pre-validation in Validation Summary if need be. - Also found and fixed a problem with a try-catch throw javascript error in Custom Validation.
Fixed issue ghiscoding#99 to support backslash inside `alt` - Inserting a backslash "\" inside an `alt:` (alternate message) was causing the validation to not work properly. - Also removed IBAN support as default validator, this should instead be validated through the help of custom validation and an external library like arhs/iban.js
Fixed issue ghiscoding#91, enhancements ghiscoding#97 and ghiscoding#98
PreviousNext