You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2020. It is now read-only.
Fix disabled="false" as attribute to run validation
evaluate the disabled="false" attribute value in Angular-Validation so
that the validation kicks in when this value is set to "false". This was
problem found with the 3rd party library nya-bootstrap-select
<!-- angular-validation, directive and service are totally independent you can load one or the other or you can use them in parallel too. But `-common.js` and `-rules.js` are mandatory. -->
Copy file name to clipboardExpand all lines: src/validation-service.js
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -547,7 +547,12 @@ angular
547
547
// use a timeout so that the digest of removing the `disabled` attribute on the DOM is completed
548
548
// because commonObj.validate() checks for both the `disabled` and `ng-disabled` attribute so it basically fails without the $timeout because of the digest
0 commit comments