Merge pull request #21630 from maharshivpatel/fix-web-form
This commit is contained in:
commit
d363452b32
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ export default class WebForm extends frappe.ui.FieldGroup {
|
|||
let field = this.fields_dict[fieldname];
|
||||
field.df.change = () => {
|
||||
handler(field, field.value);
|
||||
this.refresh_dependency();
|
||||
this.make_form_dirty();
|
||||
};
|
||||
}
|
||||
|
|
@ -53,6 +54,7 @@ export default class WebForm extends frappe.ui.FieldGroup {
|
|||
this.fields.forEach((field) => {
|
||||
if (!field.change) {
|
||||
field.change = () => {
|
||||
this.refresh_dependency();
|
||||
this.make_form_dirty();
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue