# About TextChanged

**URL:** <https://forums.fusetools.com/t/about-textchanged/6899>\
**Category:** How-to Discussions\
**Created:** [July 21, 2015, 7:00am UTC](https://forums.fusetools.com/t/about-textchanged/6899 "2015-07-21T07:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mao](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@Mao](https://forums.fusetools.com/u/Mao)\
**Post date:** [July 21, 2015, 7:00am UTC](https://forums.fusetools.com/t/about-textchanged/6899/1 "2015-07-21T07:00:56Z")

</div>

We used it before, to detect the change of text and do function:

```auto
<TextInput Value="{titleInput}" TextChanged="function"/>

```

For the updated version, error occurs:

```auto
'TextInput' does not have a property called 'TextChanged' - ...

```

I tried to use ValueChanged but did not work. Could you give me some hints? Thanks.

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [July 21, 2015, 7:30am UTC](https://forums.fusetools.com/t/about-textchanged/6899/2 "2015-07-21T07:30:52Z")

</div>

Hi,

`TextChanged` is renamed to `ValueChanged`.

Binding to `Value` on the `TextInput` is also a two-way binding now. `titleInput` will be automatically written to when the user changes the text. 🙂

---

<div class="post-metadata">

**Author:** ![Mao](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@Mao](https://forums.fusetools.com/u/Mao)\
**Post date:** [July 21, 2015, 7:50am UTC](https://forums.fusetools.com/t/about-textchanged/6899/3 "2015-07-21T07:50:20Z")

</div>

Hi! Thank you for reply. And I’d like to ask more. Is ValueChanged support an observable function?

I tried something like that:

```auto
<TextInput Value="{titleInput}" ValueChanged="{ObservableFunction}"/>

```

js:

```auto
function ObservableFunction()
{
    debug_log ("HI");
}

```

but with error:

```auto
Exception: System.Exception: EventBinding: event must be a Fuse.NodeEvent

```

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [July 21, 2015, 11:43am UTC](https://forums.fusetools.com/t/about-textchanged/6899/4 "2015-07-21T11:43:30Z")

</div>

Hi,

Thanks for reporting this. This was an unintended restriction. I’ve pushed a fix, will roll out in next release.
