Dear All,
I used the below code in V 12 to change the width of dialog and it worked great.
But now in V 13 it is not working any more.
let d = new frappe.ui.Dialog({
title: 'Enter details',
fields: [
{
label: 'First Name',
fieldname: 'first_name',
fieldtype: 'Data'
}
],
primary_action_label: 'Submit',
primary_action(values) {
console.log(values);
d.hide();
}
});
d.show();
d.$wrapper.find('.modal-dialog').css("width", "90%");
any suggestions on how to do the same in V 13