Closed biswajitsundara closed 1 day ago
the code needs to be updated
if (validator.minLength && value.length <= validator.minLength) {
isValid = false;
errorMessage = Minimum ${validator.minLength} characters required
;
}
if (validator.maxLength && value.length >= validator.maxLength) {
isValid = false;
errorMessage = `Maximum ${validator.maxLength} characters allowed`;
}
The issue is fixed and will be available in next release.
If we set min character 3 then if we type 3 characters then it should remove the error
similarly max character, it should throw error when its exceeded specified 10 characters, now it's throwing error more than 10 characters