onKeyPress event , impossible to get current value

Hello,

I want to get value with ‘onKeyPress’ event, but I can’t get the current value.

Another person has the same problem but he had no response

I give you his snippet for illustrate the problem : http://webix.com/snippet/0a6fb206

Thanks

Is there an alternative to get the value of field when key is pressed ?

Maybe this example can help you: https://snippet.webix.com/enz0zc0p

value is not updated in event. that’s why you can’t retrieve the value you want.

Hello @romain
The point is that onKeyPress fires before the value is updated.
So it’s better to use onTimedKeyPress event which fires after typing has been finished in the field