Stop Working Search Screen

One minute I had it working perfectly next minute… I can’t get the search results to trigger WHYYYYY??? What am I doing wrong???

1 Like

Two things I noticed:

  1. You’re doing a lot of processing in a “when text input changes” block. If you press keys quickly one after another (as anyone does when they type), those blocks won’t have time to complete their actions.

  2. I’ve never used an initialized “app variable” in a “for each item in list” block. How did you initialize that variable? What happens if you switch that to one of the preset variables such as “i”?

1 Like

You are filling your list with empty variable that has never been used or even initialized.
image

It’s initialized at the top-left of the first screenshot and then its value is set within the loop.

1 Like

temp item is initialized as a list and used as a test item. It will not work. The assignment will fail because it expects a method of a list.

1 Like

You are correct. I missed that. You can’t mix and match variable types, especially with lists.

1 Like