ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Hide/Delete remove option in Attach image Type

custom_script

#1

I have a field type attach image on which I want user can only upload image but cant delete it (remove it). Tried playing with role permission manager and also permission level of that field (via customize) but still got no success. Any help would be appreciable.

Thank You


#2

hi
you can try this
$(’[data-fieldname=“filed_name”]’).prop(“remove”, false)

:slight_smile:


#3

Not worked