fix: make form undirty on fetch
This commit is contained in:
parent
c8d19d82e1
commit
2fe91f93de
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ export const useStore = defineStore("form-builder-store", () => {
|
|||
|
||||
nextTick(() => {
|
||||
dirty.value = false;
|
||||
frm.value.doc.__unsaved = 0;
|
||||
frm.value.page.clear_indicator();
|
||||
read_only.value =
|
||||
!is_customize_form.value && !frappe.boot.developer_mode && !doc.value.custom;
|
||||
preview.value = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue