@lukasbals wrote:
I want to make a live search on my page. But only search in the local data store, without a request to the api.
{{input key-up=(action 'search') placeholder="Live search ..."}} {{#each documents as |document|}} {{document.title}} {{/each}}
That’s the structure of my components .hbs file. What’s best practice to search live on key-up in input field and display only the matching titles in the each loop?
Posts: 1
Participants: 1