matteodem / meteor-easy-search

Easy-to-use search for Meteor with Blaze Components
MIT License
435 stars 68 forks source link

Clearing the search #470

Closed dominicarrojado closed 8 years ago

dominicarrojado commented 8 years ago

$('.search-input').val('') <- clearing the search input like this doesn't clear the last searched list

matteodem commented 8 years ago

It doesn't because there are no relations between the dom input value and the actual search results being displayed.

Use component methods for that http://matteodem.github.io/meteor-easy-search/docs/components/ (and please have a closer look at the docs before posting these issues)