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.
*`between:min,max` will auto-detect value type then use proper validator. Numbers use `between_num`, string use `between_len`.
134
+
*`between:min,max` will auto-detect value type then use proper validator.
135
+
* Type Number uses `between_num`, String use `between_len`.
135
136
*`between_date_iso:d1,d2` alias of `between_date_iso`.
136
137
*`between_date_euro_long:d1,d2` alias of `date_euro_long_between`.
137
138
*`between_date_euro_short:d1,d2` alias of `date_euro_short_between`.
@@ -184,15 +185,17 @@ Confirmation field does not match specified field "Password".
184
185
*`match:f` Match another input field(f), where (f) must be the exact ngModel attribute of input field to compare to. The error message will use the `friendly-name` if it was provided on first input, ex.: `<input friendly-name="Password".../>` will display :: Confirmation field does not match specified field "Password".
185
186
*`match:f,t` Match another input field(f), same as (match:f) but also include (t) for alternate input name to be displayed in the error message (it still uses a generic error message, if you really wish to replace the full error message then you should use `match:n:alt` see [:alt](https://github.com/ghiscoding/angular-validation/wiki/Alternate-Text-on-Validators))
186
187
*`match_input` alias of `match`.
187
-
*`max:n` will auto-detect value type then use proper validator. Numbers use `max_num`, string use `max_len`.
188
+
*`max:n` will auto-detect value type then use proper validator.
189
+
* Type Number uses `max_num`, String use `max_len`.
188
190
*`max_date_iso` alias of `date_iso_max`.
189
191
*`max_date_euro_long` alias of `date_euro_long_max`.
190
192
*`max_date_euro_short` alias of `date_euro_short_max`.
191
193
*`max_date_us_long` alias of `date_us_long_max`.
192
194
*`max_date_us_short` alias of `date_us_short_max`.
193
195
*`max_len:n` Checks field length, no longer than specified length where (n) is length parameter.
194
196
*`max_num:n` Checks numeric value to be lower or equal than the number (n).
195
-
*`min:n` will auto-detect value type then use proper validator. Numbers use `min_num`, string use `min_len`.
197
+
*`min:n` will auto-detect value type then use proper validator.
198
+
* Type Number uses `min_num`, String use `min_len`.
196
199
*`min_date_iso` alias of `date_iso_min`.
197
200
*`min_date_euro_long` alias of `date_euro_long_min`.
198
201
*`min_date_euro_short` alias of `date_euro_short_min`.
@@ -207,6 +210,7 @@ Confirmation field does not match specified field "Password".
207
210
*`pattern` Ensure it follows a regular expression pattern... please see [Regular Expression Pattern](https://github.com/ghiscoding/angular-validation/wiki/Regular-Expression-Pattern)
208
211
*`required` Ensures the specified key value exists and is not empty
209
212
*`same` alias of `match`.
210
-
*`size` will auto-detect value type then use proper validator. Numbers use `exact_num`, string use `exact_len`.
213
+
*`size` will auto-detect value type then use proper validator.
214
+
* Type Number uses `exact_num`, String use `exact_len`.
211
215
*`time` Ensure time follows the format of (hh:mm) or (hh:mm:ss)
0 commit comments