feat: add option to add cscript for Table MultiSelect

This commit is contained in:
Anoop Kurungadam 2024-11-24 13:36:18 +05:30
parent cd8a7c6853
commit 07944b7181

View file

@ -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);