Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit c542a1f

Browse files
committed
typo
1 parent 82a1120 commit c542a1f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

readme.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ All validators are written as `snake_case` but it's up to the user's taste and c
131131
* `alpha_num_spaces` Only alpha-numeric characters (with latin & spaces) are present (a-z, A-Z, 0-9)
132132
* `alpha_dash` Only alpha-numeric characters + dashes, underscores are present (a-z, A-Z, 0-9, _-)
133133
* `alpha_dash_spaces` Alpha-numeric chars + dashes, underscores and spaces (a-z, A-Z, 0-9, _-)
134-
* `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`.
135136
* `between_date_iso:d1,d2` alias of `between_date_iso`.
136137
* `between_date_euro_long:d1,d2` alias of `date_euro_long_between`.
137138
* `between_date_euro_short:d1,d2` alias of `date_euro_short_between`.
@@ -184,15 +185,17 @@ Confirmation field does not match specified field "Password".
184185
* `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".
185186
* `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))
186187
* `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`.
188190
* `max_date_iso` alias of `date_iso_max`.
189191
* `max_date_euro_long` alias of `date_euro_long_max`.
190192
* `max_date_euro_short` alias of `date_euro_short_max`.
191193
* `max_date_us_long` alias of `date_us_long_max`.
192194
* `max_date_us_short` alias of `date_us_short_max`.
193195
* `max_len:n` Checks field length, no longer than specified length where (n) is length parameter.
194196
* `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`.
196199
* `min_date_iso` alias of `date_iso_min`.
197200
* `min_date_euro_long` alias of `date_euro_long_min`.
198201
* `min_date_euro_short` alias of `date_euro_short_min`.
@@ -207,6 +210,7 @@ Confirmation field does not match specified field "Password".
207210
* `pattern` Ensure it follows a regular expression pattern... please see [Regular Expression Pattern](https://github.com/ghiscoding/angular-validation/wiki/Regular-Expression-Pattern)
208211
* `required` Ensures the specified key value exists and is not empty
209212
* `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`.
211215
* `time` Ensure time follows the format of (hh:mm) or (hh:mm:ss)
212216
* `url` Check for valid URL or subdomain

0 commit comments

Comments
 (0)