Validators / stringLength
Validate the length of a string.
| Option | Type | Description |
|---|---|---|
message |
String | The error message |
min |
Number | The minimum length |
max |
Number | The maximum length |
At least one of min and max options is required