UMG input box question

Hello to all :slight_smile:

I have created a widget UMG that has an input box and sets it’s focus on the input box when it is called.

The thing is, below the input box is an “OK button”

Now, How can i make the button to function while the user is in the input box?
Currently when the user is finish typing, the player have to move the mouse and click on the OK button, which is fine…

But i want to add some shortcut like
While the player is in the input box, typing stuff and presses enter… the Ok button will be clicked… Just like any other Input box window …

I’ve tried setting the focus to the button on text change of input box but, it focuses on the button whenever a single letter is typed…

Also… What does OnTextComitted do?

EDIT: OK, The OnTextComitted event is what i needed…
Everything fine now. :slight_smile: