Skip to content

Commit

Permalink
Merge pull request frappe#28267 from nabinhait/grid_row_onchange_event
Browse files Browse the repository at this point in the history
  • Loading branch information
surajshetty3416 authored Nov 5, 2024
2 parents 3da5663 + 168a665 commit c6849a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/form/grid_row.js
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ export default class GridRow {
if (!field.df.onchange_modified) {
var field_on_change_function = field.df.onchange;
field.df.onchange = (e) => {
field_on_change_function && field_on_change_function(e);
field_on_change_function && field_on_change_function.bind(field)(e);
this.refresh_field(field.df.fieldname);
};

Expand Down

0 comments on commit c6849a5

Please sign in to comment.