bug fix
This commit is contained in:
@@ -109,7 +109,7 @@ watch(value, (newValue) => {
|
|||||||
active.value = newValue.value != "";
|
active.value = newValue.value != "";
|
||||||
});
|
});
|
||||||
|
|
||||||
if (typeof control === "object") {
|
if (typeof control === "object" && control !== null) {
|
||||||
watch(
|
watch(
|
||||||
() => control.validation.result.valid,
|
() => control.validation.result.valid,
|
||||||
(newValue) => {
|
(newValue) => {
|
||||||
@@ -130,6 +130,7 @@ if (typeof control === "object") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (form) {
|
if (form) {
|
||||||
|
console.log("here form");
|
||||||
watch(
|
watch(
|
||||||
() => form.loading(),
|
() => form.loading(),
|
||||||
(newValue) => {
|
(newValue) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user