Filtering search


#1

Hello everyone!
I have a question on this project Project, I need not display all items in the beginning, but as you apply the filter will display items. Is it possible? Someone knows some way. Thanks people!


#2

You can add an ng-if on the list to check the length of the search field:

<ul ng-if="data.searchQuery.length > 0" class="list">

#3

Thank you for helping me. Greetings. :grinning: