Merge pull request #27851 from rohitwaghchaure/option-to-set-size-for-multi-select-dialog

feat: option to set the width for the multi-select dialog box
This commit is contained in:
rohitwaghchaure 2021-10-07 17:38:19 +05:30 committed by GitHub
commit e740fec8d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -712,6 +712,7 @@ erpnext.utils.map_current_doc = function(opts) {
allow_child_item_selection: opts.allow_child_item_selection, allow_child_item_selection: opts.allow_child_item_selection,
child_fieldname: opts.child_fielname, child_fieldname: opts.child_fielname,
child_columns: opts.child_columns, child_columns: opts.child_columns,
size: opts.size,
action: function(selections, args) { action: function(selections, args) {
let values = selections; let values = selections;
if (values.length === 0) { if (values.length === 0) {