Merge pull request #18960 from shariquerik/web-form-get-fields-fix
This commit is contained in:
commit
5605e9dbcb
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ frappe.ui.form.on("Web Form", {
|
|||
.get_field("Web Form Field", "fieldtype")
|
||||
.options.split("\n");
|
||||
|
||||
let added_fields = (frm.doc.fields || []).map((d) => d.fieldname);
|
||||
let added_fields = (frm.doc.web_form_fields || []).map((d) => d.fieldname);
|
||||
|
||||
get_fields_for_doctype(frm.doc.doc_type).then((fields) => {
|
||||
for (let df of fields) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue