diff --git a/ui/StatusQ/src/StatusQ/Controls/Validators/StatusMinLengthValidator.qml b/ui/StatusQ/src/StatusQ/Controls/Validators/StatusMinLengthValidator.qml index f9b4ca85e5..e36ce316f9 100644 --- a/ui/StatusQ/src/StatusQ/Controls/Validators/StatusMinLengthValidator.qml +++ b/ui/StatusQ/src/StatusQ/Controls/Validators/StatusMinLengthValidator.qml @@ -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 }