# Text value and button states Bug?

**URL:** <https://community.weweb.io/t/text-value-and-button-states-bug/2008>\
**Category:** Ask us anything\
**Created:** [March 10, 2023, 10:16pm UTC](https://community.weweb.io/t/text-value-and-button-states-bug/2008 "2023-03-10T22:16:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RCS](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@RCS](https://community.weweb.io/u/RCS)\
**Post date:** [March 10, 2023, 10:16pm UTC](https://community.weweb.io/t/text-value-and-button-states-bug/2008/1 "2023-03-10T22:16:25Z")

</div>

I can’t get the text value I have binded to be specific to a state.

When I change the binded text value under a new state, it translates back to the default state. This is different behavior than other fields like text color and icon image.

Is this expected for the text field? I’ll probably use a formula as a workaround.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/1a50f885682867158d1ba7789ecc74e061e5be53.png)

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [March 10, 2023, 10:23pm UTC](https://community.weweb.io/t/text-value-and-button-states-bug/2008/2 "2023-03-10T22:23:55Z")

</div>

Hi,  
yes it is indeed expected, the text property cannot be responsive or statefull by design.

---

<div class="post-metadata">

**Author:** ![RCS](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@RCS](https://community.weweb.io/u/RCS)\
**Post date:** [March 10, 2023, 10:26pm UTC](https://community.weweb.io/t/text-value-and-button-states-bug/2008/3 "2023-03-10T22:26:21Z")

</div>

Gotcha, I ended up putting the condition into an if function for the text field.
