Yup min długość
.min(8,'must be 8 characters'),
Didi Abel
.min(8,'must be 8 characters'),
string.length(limit: number | Ref, message?: string | function): Schema
//Set a required length for the string value. The ${length} interpolation can be used in the message argument
string.min(limit: number | Ref, message?: string | function): Schema
//Set a minimum length limit for the string value. The ${min} interpolation can be used in the message argument
string.max(limit: number | Ref, message?: string | function): Schema
//Set a maximum length limit for the string value. The ${max} interpolation can be used in the message argument