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 May 29, 2019. It is now read-only.
In datepicker.js
ngModelCtrl.$setValidity('date-disabled', !date || (this.element && !this.isDisabled(date)));
$setValidity(validationErrorKey, isValid)
validationErrorKey: does not follow convention
The validationErrorKey should be in camelCase and will get converted into dash-case for class name. Example: myError will result in ng-valid-my-error and ng-invalid-my-error class and can be bound to as {{someForm.someControl.$error.myError}} .
The text was updated successfully, but these errors were encountered:
In datepicker.js
ngModelCtrl.$setValidity('date-disabled', !date || (this.element && !this.isDisabled(date)));
$setValidity(validationErrorKey, isValid)
validationErrorKey: does not follow convention
The validationErrorKey should be in camelCase and will get converted into dash-case for class name. Example: myError will result in ng-valid-my-error and ng-invalid-my-error class and can be bound to as {{someForm.someControl.$error.myError}} .
The text was updated successfully, but these errors were encountered: