From 07944b718190938ebaef4bb4546e0ff813b84a37 Mon Sep 17 00:00:00 2001 From: Anoop Kurungadam Date: Sun, 24 Nov 2024 13:36:18 +0530 Subject: [PATCH] feat: add option to add cscript for Table MultiSelect --- frappe/custom/doctype/client_script/client_script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/custom/doctype/client_script/client_script.js b/frappe/custom/doctype/client_script/client_script.js index 67bb0083c8..481aa3ffd7 100644 --- a/frappe/custom/doctype/client_script/client_script.js +++ b/frappe/custom/doctype/client_script/client_script.js @@ -17,7 +17,7 @@ frappe.ui.form.on("Client Script", { frappe.model.with_doctype(frm.doc.dt, () => { const child_tables = frappe.meta .get_docfields(frm.doc.dt, null, { - fieldtype: "Table", + fieldtype: ["in", ["Table", "Table MultiSelect"]], }) .map((df) => df.options);