You can use Ember.computed.filterto dynamically filter your model.
App.IndexController = Ember.Controller.extend({
searchKeyword: '',
searchResults: Ember.computed.filter('model', function(model) {
return model.filterProperty('name', this.get('searchKeyword'));
}).property('model', 'name')
});
with sample template
{{input type="text" valueBinding="searchKeyword"}}
<ul>
{{
<li>{{result.name}}</li>
{{/each}}
</ul>
source
share