Form input changed value not sent on keydown event (could be bug)

A form.send() method was fired on the input keydown Enter event.
I hope the changed new value sent to the server, however, the original value instead of the changed value, was sent. Please help confirm. Thx

Please, try to use the awaitRedraw helper to make sure that the value changing was initialized completely before sending the form data.
https://docs.dhtmlx.com/suite/helpers/await_redraw/
Like:
https://snippet.dhtmlx.com/vi2wr759

Thank Sematic, now perfectly running.