This commit is contained in:
2023-01-06 23:39:36 +00:00
parent 8ff7956a0f
commit 6c956999e0

View File

@@ -365,13 +365,13 @@ export default {
}, },
fieldValueChanged(ref) { fieldValueChanged(ref) {
if (ref == "fetchedOn") { if (ref == "fetchedOn") {
console.log("FETCHED ON CHANGED", this.obj.fetchedOn);
window.$gz.form.setFormState({ window.$gz.form.setFormState({
vm: this, vm: this,
readOnly: this.obj.fetchedOn != null readOnly: this.obj.fetchedOn != null
}); });
this.$nextTick(() => {
console.log("formstate is now ", this.formState); generateMenu(this);
});
} }
if ( if (
this.formState.ready && this.formState.ready &&