Why SHIFT+ENTER like hot key Produce distinct behaviour

Hi
I do not know, if this is a bug or if it is normal. why do we have different behavior in the data of a form when we press the click of a button than when we use it as hotkeys?

Please check snippet

https://snippet.webix.com/jeozuyak

Thanks in advance

Hello @jorge,
In different browsers, the order in which events are processed may differ slightly. For example in FireFox, redrawing may occur earlier than it should. During the redraw, the entered but not yet set value is reset.
As a solution, you can try changing the focus to another element:
https://snippet.webix.com/bl2auxys
(it should work in Edge, but the solution is still not guaranteed to be safe)
Because of this, we don’t recommend validating inputs directly during input (on keyPress event)

Hi anna

Perfect!!!

Thanks so much, you save mi life