How do I make a TextBox not reset?

What do I want to achieve?
I would like to create a TextBox that doesn’t reset the text when you’re trying to add to it.

What have I tried so far?
I’ve tried searching on Youtube and the DevForum and I’m not able to find anything that can help me out.


When you have a default TextBox with text inside and you’re trying to add onto the text, the textbox resets to the PlaceholderText. This is what I mean:

How would I make it so that the text doesn’t reset after clicking on the TextBox?

ClearTextOnFocus. Turn that off.

Always a good idea to search the Developer Hub as well. Look for API reference first and see if there’s anything there that shows property descriptions for the object you’re trying to use. If that doesn’t get you an answer then you can try looking for other resources.

5 Likes

You should turn off the ClearTextOnFocus property.

2 Likes