fix(StatusMinLengthValidator): Check if the text contains only whitespaces (#778)
Fixes #6304
This commit is contained in:
parent
bce53e9ccc
commit
08f8cd60c4
|
@ -13,7 +13,7 @@ StatusValidator {
|
|||
}
|
||||
|
||||
validate: function (value) {
|
||||
return value.length >= minLength ? true : {
|
||||
return value.length >= minLength && value.trim().length > 0 ? true : {
|
||||
min: minLength,
|
||||
actual: value.length
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue