fix: filters not working on "select items" dialog boxes (#16765)
* Fix: is_child_selection_enabled for multiselect dialog filter * fix: check if field exists before fetching value Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
parent
d881fb7ab5
commit
0334936449
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ frappe.ui.form.MultiSelectDialog = class MultiSelectDialog {
|
|||
}
|
||||
|
||||
is_child_selection_enabled() {
|
||||
return this.dialog.fields_dict['allow_child_item_selection'].get_value();
|
||||
return this.dialog.fields_dict['allow_child_item_selection']?.get_value();
|
||||
}
|
||||
|
||||
toggle_child_selection() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue