Text input editable bug? Change color if true

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?

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.

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.

I can confirm this isn’t working as expected. I would consider it a bug. See Bugs and Product Feedback | Thunkable Docs. I’m moving this to the Issues/Bugs subforum for you.