瀏覽代碼

fix: ignore if df doesn't exist (#18358) (#18360)

(cherry picked from commit b03e0752b9)

Co-authored-by: Ankush Menat <ankush@frappe.io>
version-14
mergify[bot] 2 年之前
committed by GitHub
父節點
當前提交
e9ecef7c11
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      frappe/public/js/frappe/ui/field_group.js

+ 3
- 0
frappe/public/js/frappe/ui/field_group.js 查看文件

@@ -169,6 +169,9 @@ frappe.ui.FieldGroup = class FieldGroup extends frappe.ui.form.Layout {
}

set_df_property(fieldname, prop, value) {
if (!fieldname) {
return;
}
const field = this.get_field(fieldname);
field.df[prop] = value;
field.refresh();


Loading…
取消
儲存