Add Filter Field on form Exist Child Table

Hi All

I Want to add filter field on Child Table, in form Exist

code :

frappe.listview_settings['Student Group'] = {
    onload: function (listview) {
        var df = {
   
            fieldname: "student",
            label:"Student",
            fieldtype: "Link",
            options:"Student",
            onchange: function(){
   
                listview.start = 0;
                listview.refresh();
                listview.on_filter_change();
            },
        }
        listview.page.add_field(df);
   
    }
   };

But , the following message appears:

Thanks.

anyone …

This is a useful feature and I don’t understand why it was removed in version 14