support value = null

This commit is contained in:
2023-03-13 19:48:01 +10:00
parent cf3c35ffa3
commit 23288e15e0

View File

@@ -187,7 +187,7 @@ if (objControl) {
label.value = toTitleCase(props.control); label.value = toTitleCase(props.control);
} }
inputActive.value = value.value.length > 0 || props.type == "select"; inputActive.value = value.value?.length > 0 || props.type == "select";
watch( watch(
() => objControl.validation.result.valid, () => objControl.validation.result.valid,