form_field_validator icon indicating copy to clipboard operation
form_field_validator copied to clipboard

Results 21 form_field_validator issues
Sort by recently updated
recently updated
newest added

The length validators didn't consider the length of a string which has emojis. They'd count an emoji as two characters which is incorrect from the user's perspective. I changed all...

The Validation Error message Automatically vanishes when scroll down or after scrolling it out the viewport, in the bunch of list of form text input field.

MultiValidator accepts only String? values ![image](https://user-images.githubusercontent.com/55907631/175239152-7fe7ceb3-0020-470a-824c-bd06e2b67a3a.png)

Added option for MultiValidator to display multiple errors in multiple lines instead of just the later

Adding support for nested `MultiValidator` for example: ```dart // .. final requiredEmail = MultiValidator([ RequiredValidator(errorText: 'Email is required'), EmailValidator(errorText: 'Email is wrong'), ]); TextFormField( validator: MultiValidator([ requiredEmail, PatternValidator(r'', errorText: 'Wrong...

this null check caused errors with widgets like DropdownButtonFormField or FormField which can provide null values and cause red screen error

use the line below so the function is used instead of the error text being returned directly _errorText = validator.call(value)!; INSTEAD OF _errorText = validator.errorText; REFERING TO class MultiValidator extends...

Looks like isValid methods are missing checks for null values. For example, in RequiredValidator: ```dart @override bool isValid(String? value) { return value!.isNotEmpty; } ``` The issue leads to incompatibility with...

Thank you for creating such a good package. Is there any control on the position of the error message, so that we can change it and customize its position ?