Search --- start typing to search

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

Anyone ?


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

Thanks, I will try this immediately

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.


Yeah sorry, the correct usage is:

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

It works