How to clear an Editable TextBox

Hey there, I’m having one of those minutes where my brain stops.

I type into the editable text box, It gives me text which is great, and then I use a button to add the text.

But If I want to add another, When I reopen the editable text box, the text is still there. Which makes sense, But any of my normal Methods of clearing text Don’t seem to work.

I’m surprised there’s not just a “Clear Text” Node or something.

Any help would be great.

I could remove from parent and remake it every time, I guess. Just feels fumbly when I could just clear it.

Update: I take it back, Remove from parent actually with a delegate system actually fixed alot of things

I’m surprised there’s not just a “Clear Text” Node or something.

Indeed, but anyway - SetText("") should do the job aswell.

1 Like

Interesting, I did try “set text” a bunch for a while in a few different areas and couldn’t figure it out. It’s like the Editable box would overwrite the empty set text node every time.

That’s good to know, though, I must of been messing it up somewhere.

Thanks.