Hi is there any custom script to filter the table multi select
Case: we want to make a filtered drop down for the product type, item class will only show based on product based on product type as their parent.
1 Like
hello, Can anyone help me with this please?
Did you find any solution?
You can try this
frm.set_query(your_multiselect_field, function(doc, cdt, cdn) {
var d = locals[cdt][cdn];
return {
"filters": [
[your_doctype_link_option_in_childtable, field_doctype_to_filter, "=", value_to_filter]
]
};
});
2 Likes