Showing a custom message when filtering collection data returns no result

Hi everyone :wave:

I followed this tutorial: https://support.wix.com/en/article/corvid-tutorial-adding-collection-data-search-functionality

It is implemented and works perfectly. The only thing missing would be to be able to show a message when the search returns no result, and to make that same message disappear when a new search is made and returns results.

Any ideas how to add it to the code?

Thanks!

#collection #filter #repeater #list

https://www.wix.com/corvid/forum/community-discussion/filtering-returned-no-items-let-the-user-know

Although if you are using the ‘Optionally Collapse the Table on Load’ part of the code, then you can add code there to show the message that you want to appear if the results are empty and the table doesn’t expand by possibly using ‘else’ for example.

} else {