-
-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is there an existing issue for this?
- I have searched the existing issues
Package/Plugin version
12.0.0
What you'd like to happen
The following validators were not implemented yet. They are interesting because they are complementary to some of the existent validators.
File validators
-
Validators.minFileSize(min, base:base): Checks if the field contains a file size that is less than themaxsize withbase1000 or 1024. (complement tomaxFileSize.
String validators
-
Validators.notContains(substring)- Checks if the field does not contain thesubstring. (complementscontains. -
FormBuilderValidators.notEndsWith()- requires the substring not to be the end of the field's value. (complementsendsWith) -
FormBuilderValidators.notStartsWith()- requires the substring not to be the start of the field's value. (complementsstartsWith) -
Validators.hasMaxUppercaseChars(max:max)- Checks if the field has a maximum number of uppercase chars. (complementshasMinUppercaseChars) -
Validators.hasMaxLowercaseChars(max:max)- Checks if the field has a maximum number of lowercase chars. (complementshasMinLowercaseChars) -
Validators.hasMaxNumericChars(max:max)- Checks if the field has a maximum number of numeric chars. (complementshasMinNumericChars) -
Validators.hasMaxSpecialChars(max:max)- Checks if the field has a maximum number of special chars. (complementshasMinSpecialChars) -
Validators.notMatch(regExp)- Checks if the field does not match with the regular expressionregExp. (complementsmatch)
Alternatives you've considered
No response
Aditional information
No response
deandreamatias
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status