yup max length

Solutions on MaxInterview for yup max length by the best coders in the world

showing results for - "yup max length"
Cordelia
25 May 2019
1string.length(limit: number | Ref, message?: string | function): Schema
2//Set a required length for the string value. The ${length} interpolation can be used in the message argument
3
4string.min(limit: number | Ref, message?: string | function): Schema
5//Set a minimum length limit for the string value. The ${min} interpolation can be used in the message argument
6
7string.max(limit: number | Ref, message?: string | function): Schema
8//Set a maximum length limit for the string value. The ${max} interpolation can be used in the message argument