# Text input editable bug? Change color if true

**URL:** <https://community.thunkable.com/t/text-input-editable-bug-change-color-if-true/3169616>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, bug\
**Created:** [August 31, 2024, 10:06pm UTC](https://community.thunkable.com/t/text-input-editable-bug-change-color-if-true/3169616 "2024-08-31T22:06:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![retaill04v7q](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@retaill04v7q](https://community.thunkable.com/u/retaill04v7q)\
**Post date:** [August 31, 2024, 10:06pm UTC](https://community.thunkable.com/t/text-input-editable-bug-change-color-if-true/3169616/1 "2024-08-31T22:06:27Z")

</div>

![Screenshot 2024-09-01 000421](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/8/b80cdd5dab7115403bf58de8df60b4f4fb7c9c31.png)

Nothing happens when running the script in web preview. Am i doing it wrong somehow?  
Also. Why can i remove text from a text input in the web preview when i have toggled editable option off?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 1, 2024, 5:31am UTC](https://community.thunkable.com/t/text-input-editable-bug-change-color-if-true/3169616/2 "2024-09-01T05:31:32Z")

</div>

The `list of values` block returns a list. But you are comparing that to a number. Try instead using the `get value` block to get the value of the first row in the Haircolor column and compare it to 1. But even that may not work because the value is likely going to be returned as a text string “1”, so you’ll need to try comparing it to “1” as well.

Is there a reason you’re setting the Checkbox1’s Value to true? Normally, you would set it to the newValue block.

---

<div class="post-metadata">

**Author:** ![retaill04v7q](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@retaill04v7q](https://community.thunkable.com/u/retaill04v7q)\
**Post date:** [September 1, 2024, 8:18pm UTC](https://community.thunkable.com/t/text-input-editable-bug-change-color-if-true/3169616/3 "2024-09-01T20:18:00Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/b/7b333934302a2f5b175cdab239538940ce53e81f.png)

This worked!  
I still have problems with the text\_input.  
I can still remove text in the web preview when i have toggled off “editable” option.

 ![Screenshot 2024-09-01 221705](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/9/69b3ccb56694e41c0472df82a6364cf970cc2429.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 2, 2024, 5:22am UTC](https://community.thunkable.com/t/text-input-editable-bug-change-color-if-true/3169616/4 "2024-09-02T05:22:07Z")

</div>

> [@retaill04v7q](#):
>
> I can still remove text in the web preview when i have toggled off “editable” option.

I can confirm this isn’t working as expected. I would consider it a bug. See [Bugs and Product Feedback | Thunkable Docs](https://docs.thunkable.com/additional-resources/bugs-and-product-feedback). I’m moving this to the Issues/Bugs subforum for you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 1, 2024, 5:22am UTC](https://community.thunkable.com/t/text-input-editable-bug-change-color-if-true/3169616/5 "2024-12-01T05:22:46Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
