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
Copy file name to clipboardExpand all lines: doc/migration.md
+48-4Lines changed: 48 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -583,13 +583,57 @@ Validators.maxFileSize(
583
583
maxFileSizeMsg: (_, __, ___)=>'error text',
584
584
);
585
585
```
586
-
TODO continue from here!!!
587
-
-`FormBuilderValidators.mimeType()` - requires the field's value to a valid MIME type.
588
-
-`FormBuilderValidators.path()` - requires the field's to be a valid file or folder path.
586
+
-`FormBuilderValidators.mimeType()`: there is no equivalent to [this validator](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/blob/17e982bb849dc68365f8fbc93d5a2323ee891c89/lib/src/file/mime_type_validator.dart#L47). Something close would be:
-`FormBuilderValidators.path()`: there is no equivalent to [this validator](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/blob/17e982bb849dc68365f8fbc93d5a2323ee891c89/lib/src/file/path_validator.dart#L46). Something close would be:
-`FormBuilderValidators.creditCardCVC()` - requires the field's value to be a valid credit card CVC number.
594
638
-`FormBuilderValidators.creditCardExpirationDate()` - requires the field's value to be a valid credit card expiration date and can check if not expired yet.
595
639
-`FormBuilderValidators.creditCard()` - requires the field's value to be a valid credit card number.
0 commit comments