Skip to content

Commit 8be0494

Browse files
committed
More
1 parent 0154995 commit 8be0494

23 files changed

+888
-430
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
- Add negative number
6161
- Add positive number
6262
- Add not zero number
63+
- Add zip code
6364

6465
## 10.0.1
6566

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ URL, min, max, minLength, maxLength, minWordsCount, maxWordsCount, IP, credit ca
9999
- `FormBuilderValidators.url()` - requires the field's value to be a valid URL.
100100
- `FormBuilderValidators.portNumber()` - requires the field's to be a valid port number.
101101
- `FormBuilderValidators.macAddress()` - requires the field's to be a valid MAC address.
102+
- `FormBuilderValidators.latitude()` - requires the field's to be a valid latitude.
103+
- `FormBuilderValidators.longitude()` - requires the field's to be a valid longitude.
102104

103105
### Numeric validators
104106

@@ -137,14 +139,10 @@ URL, min, max, minLength, maxLength, minWordsCount, maxWordsCount, IP, credit ca
137139
- `FormBuilderValidators.isbn()` - requires the field's to be a valid ISBN.
138140
- `FormBuilderValidators.uuid()` - requires the field's to be a valid uuid.
139141
- `FormBuilderValidators.colorCode()` - requires the field's value to be a valid color code.
140-
141142
- `FormBuilderValidators.base64()` - requires the field's to be a valid base64 string.
142143
- `FormBuilderValidators.json()` - requires the field's to be a valid json string.
143-
144144
- `FormBuilderValidators.password()` - requires the field's to be a valid password that matched required conditions.
145-
146-
- `FormBuilderValidators.latitude()` - requires the field's to be a valid latitude.
147-
- `FormBuilderValidators.longitude()` - requires the field's to be a valid longitude.
145+
- `FormBuilderValidators.zipCode()` - requires the field's to be a valid zip code.
148146

149147
## Extension methods used for chaining validators
150148

lib/l10n/intl_en.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,7 @@
6161
"fileNameErrorText": "Value must be a valid file name.",
6262
"negativeNumberErrorText": "Value must be a negative number.",
6363
"positiveNumberErrorText": "Value must be a positive number.",
64-
"notZeroNumberErrorText": "Value must not be zero."
64+
"notZeroNumberErrorText": "Value must not be zero.",
65+
"ssnErrorText": "Value must be a valid Social Security Number.",
66+
"zipCodeErrorText": "Value must be a valid ZIP code."
6567
}

0 commit comments

Comments
 (0)