# \[UMG\] How do I take an editable text box and set it to disabled without changing the color to gray?

**URL:** <https://forums.unrealengine.com/t/umg-how-do-i-take-an-editable-text-box-and-set-it-to-disabled-without-changing-the-color-to-gray/374254>\
**Category:** UI\
**Tags:** text-box, text, unreal-engine, question, UMG\
**Created:** [October 24, 2016, 1:26am UTC](https://forums.unrealengine.com/t/umg-how-do-i-take-an-editable-text-box-and-set-it-to-disabled-without-changing-the-color-to-gray/374254 "2016-10-24T01:26:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unisink2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Post date:** [October 24, 2016, 1:26am UTC](https://forums.unrealengine.com/t/umg-how-do-i-take-an-editable-text-box-and-set-it-to-disabled-without-changing-the-color-to-gray/374254/1 "2016-10-24T01:26:19Z")

</div>

I need blueprints to change a text box to show descriptions of different items… but I can’t have the users select and edit the text, that’s ridiculous. So I must set it to disabled. But that changes the text color to gray. This is unacceptable too. What do I do?

---

<div class="post-metadata">

**Author:** ![Amsanity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amsanity](https://forums.unrealengine.com/u/Amsanity)\
**Post date:** [January 16, 2017, 2:34pm UTC](https://forums.unrealengine.com/t/umg-how-do-i-take-an-editable-text-box-and-set-it-to-disabled-without-changing-the-color-to-gray/374254/2 "2017-01-16T14:34:03Z")

</div>

Why would use a _editable text box_ for something you don’t want to have the player to edit?  
Why not use a normal text for this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3ad9ae12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3ad9ae12](https://forums.unrealengine.com/u/anonymous_user_3ad9ae12)\
**Post date:** [February 24, 2022, 1:30am UTC](https://forums.unrealengine.com/t/umg-how-do-i-take-an-editable-text-box-and-set-it-to-disabled-without-changing-the-color-to-gray/374254/3 "2022-02-24T01:30:03Z")

</div>

I have the same problem–for me at least, I have text that I want the player to be able to change, but when they commit it (using the built-in OnTextCommitted) I no longer want them to be able to go back and edit it. Is there a way to do this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3ad9ae12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3ad9ae12](https://forums.unrealengine.com/u/anonymous_user_3ad9ae12)\
**Post date:** [February 24, 2022, 1:31am UTC](https://forums.unrealengine.com/t/umg-how-do-i-take-an-editable-text-box-and-set-it-to-disabled-without-changing-the-color-to-gray/374254/4 "2022-02-24T01:31:27Z")

</div>

Update: 10 seconds after sending that I found the “SetIsReadOnly” function for EditableText. @Unisink2020 Enjoy!
