Onchange is being triggered twice in page field


I am working with page and I have added fields in the page same as bank reconciliation page. The problem is “onchange” of those fields are triggered twice on changing value. Can anyone help please? I also checked in the bank reconcile filed and found this issue there too.

Can confirm this, any one working on a solution yet?

I am facing the same issue, did you find solution to this?

It’s because the change event is being triggered twice when the option is selected and when the field is blurred.

You can try the below approach. change ${field} with the fieldname

var is_focused = $(`.page-form [data-fieldname='${field}']`).is(":focus")
     $(`.page-form [data-fieldname='${field}']`).blur();
    // your code here