How to add a search box using list?

Hi there, We are from the team of Hector Technovation, a small technovation team of our great school…
Actually we are getting some problem in creating a search box (Explore) in our app. Can someone help us in our code?

Main Screen:

Searched Screen:

Code:

Please find our error and let us know…
Thanks

“Fruit Salad” ≠ “fruit salad”

So you’ll need to convert both the simple list item’s text and the text input to the same case.

And if we just type “fruit”?

These blocks will do this:

“Fruit Salad” = true (found)
“Fruit” = true
“fruit salad” = false (not found)
“fruit” = false

But you have the project so you can test it with different search values.

But actually, that’s not going to work the way you have it set up because the text items block is a list of items, not a single item. You need to loop through the text items (list) and check if each item contains the search text.

Then what to do?

I think there are examples of that on the forums under the keyword “search”.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.