Client Script
- Doctype: Select the applicable doctype (e.g. Stock Entry)
- Apply to: List
Script:
frappe.listview_settings['Stock Entry'] = {
onload: function(listview) {
frappe.after_ajax(() => {
$('.filter-selector').hide();
});
}
};
Output
---------------------------------------------------------------------------------
But it will create problem if we also remove ‘Clear all filter’ button.
Replace
$(‘.filter-selector’).hide() → $(‘.filter-button’).hide()
Output
1 Like
thank you so much !
thank you so much !