@ricardorosenblatt sorry. My bad, I thought 500 is a variable you’re trying to pass to filter(), but it was the milliseconds of the setTiemout() function. So go back to your original code.
Anyway, can you explain this line?
filter(lastFilterCategoria, $w('#dropdown1').value);
Shouldn’t the first variable here be lastFilterNombrerelato and not lastFilterCategoria ?