fix: empty array does not trigger form change
This commit is contained in:
parent
9673a96ebc
commit
0b4471cd80
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ frappe.ui.form.on("Website Theme", {
|
|||
.get_field("apps")
|
||||
.get_unchecked_options()
|
||||
.map(app => ({ app: app }));
|
||||
frm.set_value("ignored_apps", value);
|
||||
frm.set_value("ignored_apps", value.length ? value : null);
|
||||
},
|
||||
options: apps.map(app => ({
|
||||
label: app.title,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue