Upvote 1

How can I make a "No results found" message using a Search Bar and a Data List?

Need Answer Arodriguez165 36 days ago

I've implemented a real-time predictive search using a search bar and data list following one of your tutorials. Now, I'd like to add a "No results found" message that appears when there are no matching items in the data list.

My plan is for the data list to be hidden if no matches are found, with the "No results found" message appearing in its place. This message should also remain hidden when the screen initially loads. However, I'm struggling with the implementation.

Replies (1)
photo
1

Hello,


Find attached a .vp file with the enhanced filter. Look at the events in the input text component, as they are checking the number of search results to show the message or hide it. Hope this works for you.

Best regards.

Leave a Comment
 
Attach a file