Need some help with a text input box in a widget

I have a simple text box in a widget where the player can type in a password in an attempt to enter an area. Each game day (of the game week), the password is something different. The way I have it set up works fine, but the print string prints twice for some reason whether the player gets it right or wrong.

I assume my solution has something to do with that “Commit” node, but I need some help here.

I know this is a late reply, but I was having the same issue. My solution is a Work-around rather, but I am happy with it for now.

Instead of using the “OnTextCommited” Node, I Made a Button and Used “OnClicked”.

Then I used the reference to the TextBox and used “get Text” node.

I hope this helps someone, Cheers!