bug? in text.setValue()

Hello!
I try to link text and list. When press “enter” I want to send value and clear the text field, but this does not always happen. When I press the button, everything works correctly.

https://snippet.webix.com/cqc24muo

Is it a bag or am I doing something wrong?

I found a solution.
I use onChange and blockEvent

https://snippet.webix.com/4jy4wrrs