fix(StatusMinLengthValidator): Check if the text contains only whitespaces (#778)
Fixes #6304
This commit is contained in:
parent
268ff0bb13
commit
17ae4263cd
|
@ -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