Hi,
Is it possible to add child table on Dialog Box
Code:
var dialog = new frappe.ui.Dialog({
title:(e.field_name+’ Styles’),
fields: [
{fieldtype:‘HTML’, fieldname:‘styles_name’, label:(‘Styles’), reqd:false,
description: (“”)},
{fieldtype:‘Table’, fieldname:‘sales_invoice_item’, label:(‘Sales Invoice Item’), reqd:false,
options:‘Sales Invoice Item’,description: (“”)},
{fieldtype:‘Button’, fieldname:‘create_new’, label:(‘Ok’) }
]
})
But it give me an error Cannot read property ‘perm’ of undefined