# About TextInput

**URL:** <https://forums.fusetools.com/t/about-textinput/5267>\
**Category:** How-to Discussions\
**Created:** [August 28, 2015, 7:32am UTC](https://forums.fusetools.com/t/about-textinput/5267 "2015-08-28T07:32:33Z")\
**Posts on this page:** 2\
**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:** [August 28, 2015, 7:32am UTC](https://forums.fusetools.com/t/about-textinput/5267/1 "2015-08-28T07:32:33Z")

</div>

```auto
<TextInput Value="{titleInput}" ValueChanged="{search}">
var titleInput = Observable("");

```

I did something like this to search in real time according to the change of titleInput. Whenever I typed sth to titleinput, the search function used the pervious value of titleInput for searching instead of the latest value.

For example, When I type “apple”, it searchs and shows the results of “appl”.

Could I get some hints to solve it? Thanks!

---

<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:** [August 28, 2015, 7:48am UTC](https://forums.fusetools.com/t/about-textinput/5267/2 "2015-08-28T07:48:12Z")

</div>

Oh. I found the solution.

```auto
function search(args)
{
// Search by using args.value 
}

```

It works now!
