dynamic disabling

This commit is contained in:
2023-05-08 16:39:27 +10:00
parent 99f56b9ef8
commit fd22b79d42

View File

@@ -338,6 +338,13 @@ watch(
}
);
watch(
() => props.disabled,
(newValue) => {
disabled.value = newValue;
}
);
if (typeof control === "object" && control !== null) {
watch(
() => control.validation.result.valid,