aboutsummaryrefslogtreecommitdiffstats
path: root/src/Validators.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Validators.js')
-rw-r--r--src/Validators.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Validators.js b/src/Validators.js
index ecf21a01..e3da0a81 100644
--- a/src/Validators.js
+++ b/src/Validators.js
@@ -99,7 +99,7 @@ foreach({
if (cache.state[cache.lastKey] !== null) {
element.removeClass('ng-input-indicator-wait');
}
- elementDecorateError(element, error);
+ elementError(element, NG_VALIDATION_ERROR, error);
});
}