how to clear keyboard focus on commit

I have an input field for the player to type bunch of names. I would like it so that when the player presses enter after committing some type of text on the field, it clears that name on the input field, so that the player can type a new name instantly without having to clear the last name from the field manually.

There is a “clear keyboard focus on commit” boolean variable available on the list, but I don’t know how to connect it to the “OnTextCommitted” node. Hopefully the provided picture will shed some light to my issue for you.

108382-input.png

Using SetText (Text box) node and (get) Text box object as target reference I was able to leave the “text” pin empty which clears the text in the text box.

Hope this helps anyone with the same question because it helped me. My question is thus answered by myself, thank you :stuck_out_tongue:

111524-answer1.png