I reproduce the issue with below link. Could you please have a look?
As you can see, there is a shortcut (ctrl+s) for the save button.
If I input something (E.g. xxx) and click the save button directly, the console log will be xxx.
However, if I change to yyy and click shortcut (ctrl+s), the console log will still be xxx unless I click enter.
So how to trigger onchange event? (maybe it is hard because the cursor is still on the input element).
Or is there any other solution to make sure the data is the newest before clicking shortcut. I can’t tell user that you have to click enter everytime before clicking shortcut(ctrl+s).