fix: table multiselect fieldname_remove not reflecting removed row (#33025)

This commit is contained in:
Anoop 2025-06-23 11:46:42 +05:30 committed by GitHub
parent 1f2219dbe8
commit 4fc2a39e44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,10 @@ frappe.ui.form.ControlTableMultiSelect = class ControlTableMultiSelect extends (
);
},
() => {
this.parse_validate_and_set_in_model("");
frappe.model.clear_doc(this.df.options, row.name);
this.frm.dirty();
this.refresh();
return this.frm.script_manager.trigger(
`${this.df.fieldname}_remove`,