Working the List with the search options

My requirements are as below

First, when a page is mounted, I need to set my list with filtered data from a selected category like below

SELECT (data.AirtableProducts, items.fields.category == “soft drinks”)

Then when someone searches the data in the search item field list items should display the searched item from the relevant category.

I tried page variables in the page mounted functions

But it shows an error “List type is not assignable to text type”

Is there any solution to make my app page functional to above requirements.

Thank you

https://docs.appgyver.com/tutorials/searchable-list

Maybe this helps?

1 Like

Thank you @Sasu_Makinen, It worked <3

1 Like