Search bar works but does not show the search keyword

Hello everyone,

I’ve created a search bar using a TextBox and a Button to search through a list.
The search is working — it shows the matching items — but I want to display the keyword that the user typed (for example, in a Label or in the ListView subtitle), and I don’t know how to do it.

My problem: the app shows the search result, but not the actual keyword that was typed.

How can I display the search term that the user typed?


I’ve attached a screenshot of my blocks for reference.

Thank you so much :folded_hands:

Your blocks are wrong

Init a local variable
If the length if the text box text is greater then 1
Then
Clear the listview
For each item in the list
If the get item contains textbox text
Then
Set list view image select list item get item
index 2
Title // do as it is
Sub title // do as it is
Else
Set listview item as you did when get did the first time making the listview

1 Like

Thanks that work…

1 Like