If I assign an enter function to an entry field and then press "Enter", the game no longer responds to any key press. The only way to make it work again is to press any UI element with a mouse cursor.
Using the same function binded to "Enter", but some other way (i.e. via custom hotkey or a button) doesn't cause this problem.
To others concerned: it happens because Enter, unlike UIToggle(), doesn't remove focus from an entry field. To work around that, simply remove the focus yourself:
If I assign an enter function to an entry field and then press "Enter", the game no longer responds to any key press. The only way to make it work again is to press any UI element with a mouse cursor.
Using the same function binded to "Enter", but some other way (i.e. via custom hotkey or a button) doesn't cause this problem.