File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,22 @@ var nullFormCtrl = {
21
21
* @property {Object } $error Is an object hash, containing references to all invalid controls or
22
22
* forms, where:
23
23
*
24
- * - keys are validation tokens (error names) — such as `required`, `url` or `email` ,
25
- * - values are arrays of controls or forms that are invalid with given error.
24
+ * - keys are validation tokens (error names),
25
+ * - values are arrays of controls or forms that are invalid for given error name .
26
26
*
27
+ *
28
+ * Built-in validation tokens:
29
+ *
30
+ * - `email`
31
+ * - `max`
32
+ * - `maxlength`
33
+ * - `min`
34
+ * - `minlength`
35
+ * - `number`
36
+ * - `pattern`
37
+ * - `required`
38
+ * - `url`
39
+ *
27
40
* @description
28
41
* `FormController` keeps track of all its controls and nested forms as well as state of them,
29
42
* such as being valid/invalid or dirty/pristine.
You can’t perform that action at this time.
0 commit comments