# Search --- start typing to search

**URL:** <https://forums.fusetools.com/t/search-start-typing-to-search/3075>\
**Category:** How-to Discussions\
**Created:** [February 3, 2017, 8:57pm UTC](https://forums.fusetools.com/t/search-start-typing-to-search/3075 "2017-02-03T20:57:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![quincykwende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/quincykwende/32/645_2.png) [@quincykwende](https://forums.fusetools.com/u/quincykwende)\
**Post date:** [February 3, 2017, 8:57pm UTC](https://forums.fusetools.com/t/search-start-typing-to-search/3075/1 "2017-02-03T20:57:50Z")

</div>

Am wondering how i can do this — with HMTL and JS, I would just add the ‘onChange’ attribute in my input etc

NB: I need to trigger the link function — I don’t want to use a button. Trying to simulate the android-like search

---

<div class="post-metadata">

**Author:** ![quincykwende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/quincykwende/32/645_2.png) [@quincykwende](https://forums.fusetools.com/u/quincykwende)\
**Post date:** [February 9, 2017, 9:42am UTC](https://forums.fusetools.com/t/search-start-typing-to-search/3075/2 "2017-02-09T09:42:33Z")

</div>

Anyone ?

---

<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:** [February 9, 2017, 9:52am UTC](https://forums.fusetools.com/t/search-start-typing-to-search/3075/3 "2017-02-09T09:52:33Z")

</div>

Hi!

Databind the `<TextInput Value="{foo}"` to an observable and then `foo.onValueChanged(function(newValue) { ...`

---

<div class="post-metadata">

**Author:** ![quincykwende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/quincykwende/32/645_2.png) [@quincykwende](https://forums.fusetools.com/u/quincykwende)\
**Post date:** [February 9, 2017, 9:58am UTC](https://forums.fusetools.com/t/search-start-typing-to-search/3075/4 "2017-02-09T09:58:27Z")

</div>

Thanks, I will try this immediately

---

<div class="post-metadata">

**Author:** ![quincykwende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/quincykwende/32/645_2.png) [@quincykwende](https://forums.fusetools.com/u/quincykwende)\
**Post date:** [February 9, 2017, 11:06am UTC](https://forums.fusetools.com/t/search-start-typing-to-search/3075/5 "2017-02-09T11:06:07Z")

</div>

Hello Anders,

Thanks, It works like magic. However, I get this log

LOG: Deprecated: onValueChanged now expects a `module` as the first parameter. Without it there will be a leak.

Regards

---

<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:** [February 9, 2017, 11:07am UTC](https://forums.fusetools.com/t/search-start-typing-to-search/3075/6 "2017-02-09T11:07:20Z")

</div>

Yeah sorry, the correct usage is:

```
foo.onValueChanged(module, function(value) { ...
```

---

<div class="post-metadata">

**Author:** ![quincykwende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/quincykwende/32/645_2.png) [@quincykwende](https://forums.fusetools.com/u/quincykwende)\
**Post date:** [February 9, 2017, 11:11am UTC](https://forums.fusetools.com/t/search-start-typing-to-search/3075/7 "2017-02-09T11:11:49Z")

</div>

Thanks.  
It works
