Skip to content

Commit e088bd3

Browse files
committed
Formatters & Validators #15
1 parent cdaadf3 commit e088bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/api/models/text_input_validator_model.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class RegexTextInputValidatorModel extends ConfigurableTextInputValidatorModel {
258258
);
259259

260260
/// Allow only alphabets and digits in the text field.
261-
static const RegexTextInputValidatorModel alphanumeric =
261+
static const RegexTextInputValidatorModel alphaNumeric =
262262
RegexTextInputValidatorModel(
263263
name: 'Alphanumeric',
264264
pattern: r'^[a-zA-Z0-9]+$',
@@ -285,7 +285,7 @@ class RegexTextInputValidatorModel extends ConfigurableTextInputValidatorModel {
285285
static const List<RegexTextInputValidatorModel> defaultValidators = [
286286
RegexTextInputValidatorModel.digitsOnly,
287287
RegexTextInputValidatorModel.alphabetsOnly,
288-
RegexTextInputValidatorModel.alphanumeric,
288+
RegexTextInputValidatorModel.alphaNumeric,
289289
RegexTextInputValidatorModel.email,
290290
RegexTextInputValidatorModel.custom,
291291
];

0 commit comments

Comments
 (0)