List refresh using SEARCH component

Hi,
I am trying to filter a list of repeated records and bound to a datasource using the search component. In other words when the search component text changes the below list of records should be filtered.

i am trying to asign the value of ht e SEACH component to the data filter but can only asign the search placholder text. the search value is greyed and not selectable. hot to overcome this ?

You will need to create a page variable like searchInput, bind it to the value and then bind the repeat source to a formula like

SELECT(data.myArray, CONTAINS(LOWERCASE(item.name), LOWERCASE(pageVars.searchText)))

You can see an example of this in the Movie Review App tutorial video at 15:50; https://vimeo.com/400521251#t=950s

2 Likes

Thank you it worked perfectly.

1 Like