set active if value exists

This commit is contained in:
2023-02-21 12:40:52 +10:00
parent ca288a088a
commit d9e4ccfca8

View File

@@ -176,6 +176,8 @@ if (objControl) {
label.value = toTitleCase(props.control); label.value = toTitleCase(props.control);
} }
inputActive.value = value.value.length > 0;
watch( watch(
() => objControl.validation.result.valid, () => objControl.validation.result.valid,
(newValue) => { (newValue) => {