My variable is receiving a double input?

Can anyone see why my userInput variable is receiving the same input twice when press Enter?

1 Like


The On Text Committed event is called on enter, or when the text-box loses focus . . . and possibly on being cleared, not sure if thats default. You can specify it, as in my screenshot. But there is probably a good reason it works that way by default.

Although it is firing the event twice, it is not actually altering the input being saved.


Thank you. That fixed it!

All you need to do is go to Details Panel, Behavior > Advanced , and untick “clear keyboard focus on commit”. Cheers!

1 Like