Not able to add "Table MultiSelect" Type in Quick Entry

Added fields in frappe.ui.Dialog
frappe_dilog_issue

but when we click the button for Quick Entry Dialog we get this error in browser console, and the pop up dialog box does not appear
error in browser

Uncaught TypeError: Cannot read properties of undefined (reading ‘fields’)
at o.get_link_field (table_multiselect.js:141:28)
at o.set_formatted_input (table_multiselect.js:114:27)
at o.set_formatted_input (desk.min.js?ver=1653033341.0:1:650)
at o.set_input (data.js:87:8)
at update_input (base_input.js:71:8)
at o.refresh_input (base_input.js:88:5)
at o.refresh (base_control.js:85:12)
at frappe.ui.Dialog.attach_doc_and_docfields (desk.min.js?ver=1653033341.0:1:22289)
at frappe.ui.Dialog.refresh (desk.min.js?ver=1653033341.0:1:20722)
at frappe.ui.Dialog.make (desk.min.js?ver=1653033341.0:1:28373)

FYI: But if we add any other data type except “Table MultiSelect” in quick entry it works

This is because the meta data for the doctype “Skills Option” has not been loaded at time of creating the dialog. Try loading the doctype meta data then opening the dialog. Example:

frappe.db.get_doc("DocType", "Skills Option").then(() => {
   // Create dialog
});
1 Like

Thank You soo much