Removing "Assigned To" Option in Frappe Doctype

I trust this message finds you well. I am reaching out to seek guidance on removing the “Assigned To” option within a specific Frappe doctype.

Attached is a screenshot illustrating the area in question for your reference.

Please check the logic:

But you have to apply the listview client script.

$('a[data-fieldname="assigned_to"]').hide();

I tried like this but not working.

frappe.ui.form.on('Service Ticket', {
    refresh: function(frm) {
       $('a[data-fieldname="assigned_to"]').hide();
    } 
});

Because you applied the form script, not a listview script. please check it.

Output: