diff --git a/ui/StatusQ/src/StatusQ/Controls/StatusInput.qml b/ui/StatusQ/src/StatusQ/Controls/StatusInput.qml index fef981c0e2..ef2af1ec99 100644 --- a/ui/StatusQ/src/StatusQ/Controls/StatusInput.qml +++ b/ui/StatusQ/src/StatusQ/Controls/StatusInput.qml @@ -72,6 +72,11 @@ Item { if (!errors) { errors = {} } + if (typeof result === "boolean") { + result = { + valid: result + } + } result.errorMessage = validator.errorMessage errors[validator.name] = result statusBaseInput.valid = statusBaseInput.valid && false