fix: make form dirty if doctype form/customize form/form builder is dirty

This commit is contained in:
Shariq Ansari 2023-07-12 13:03:07 +05:30
parent 6d912c934b
commit 39f2ba28d9

View file

@ -73,7 +73,7 @@ class FormBuilder {
watch_changes() {
watchEffect(() => {
if (this.store.dirty) {
if (this.store.dirty || this.frm.is_dirty()) {
this.frm.dirty();
} else {
this.page.clear_indicator();