I want to hide that clear button show in attach field clear button

Hello,
I want to hide that clear button show in attach field i try below code but that not working can any one help me on this,this is urgent requirement
Thank you.

frappe.ui.form.on(‘Vehicle’, {
refresh: function(frm) {
$.each(frm.doc.vehicle_table || [], function (i, row) {
if (row.toll_bill_attachment) {
row.toll_bill_attachment.$wrapper.find(‘[data-action=“clear_attachment”]’).hide();
}
});

}

});
image

Hi @Kaushal_Khute,

It is possible to hide at the Parent level but I think it is not possible to hide at the child level.

Thank You!

oh ok thank you for reply