# UX Expressions in a Text Value

**URL:** <https://forums.fusetools.com/t/ux-expressions-in-a-text-value/2828>\
**Category:** How-to Discussions\
**Created:** [June 28, 2017, 6:00pm UTC](https://forums.fusetools.com/t/ux-expressions-in-a-text-value/2828 "2017-06-28T18:00:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forums.fusetools.com/u/Matt)\
**Post date:** [June 28, 2017, 6:00pm UTC](https://forums.fusetools.com/t/ux-expressions-in-a-text-value/2828/1 "2017-06-28T18:00:09Z")

</div>

Is there a way to use UX expressions in a text value alongside with strings of text?

`<Text Value="My name is {name}"/>` displays `My name is {name}`, instead of `My name is John`.

I know the path is correct, as the following works:  
`<Text Value="{name}" />` and prints out `John`.

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [June 29, 2017, 8:22am UTC](https://forums.fusetools.com/t/ux-expressions-in-a-text-value/2828/2 "2017-06-29T08:22:32Z")

</div>

Hi Matt,

please post a complete, minimal reproduction that contains both JavaScript and UX code, so we see exactly what you’re doing.

---

<div class="post-metadata">

**Author:** ![Kristian\_Hasselknipp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/kristian_hasselknipp/32/549_2.png) [@Kristian\_Hasselknipp](https://forums.fusetools.com/u/Kristian_Hasselknipp)\
**Post date:** [June 29, 2017, 8:48am UTC](https://forums.fusetools.com/t/ux-expressions-in-a-text-value/2828/3 "2017-06-29T08:48:06Z")

</div>

Hi Matt!

Does the error still happen if you rebuild your project (ctrl-shift-r / cmd-shift-r)?  
After playing around with it a bit it seems to just happen sometimes, and might be because of some internal inconsistency in preview (meaning it shouldn’t happen when you build for the app store for example).

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forums.fusetools.com/u/Matt)\
**Post date:** [June 30, 2017, 7:27pm UTC](https://forums.fusetools.com/t/ux-expressions-in-a-text-value/2828/4 "2017-06-30T19:27:06Z")

</div>

Hi Kristian! You are correct, looks like you have to do a full rebuild in order to get the wanted functionality. Live reload doesn’t work in this case. Might be something you guys take a look into! 🙂 Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [June 30, 2017, 8:40pm UTC](https://forums.fusetools.com/t/ux-expressions-in-a-text-value/2828/5 "2017-06-30T20:40:12Z")

</div>

Thanks for confirming, Matt. In that case this is a known regression that we are aware of; it is being fixed and will be rolled out in a future release.

As Kristian noted, this should not affect the release builds of apps, just the preview.
