Hi all,
Trying to fix some problem I'm having with drop down menu.
I have several drop down selections, depending on which one is selected then gallery is filtering through collection if any result matches the "Drop down menu" option. For example drop down menu option = Motors.
If in collection from tab "Line" any have Motors as text then it displays results.
The issue is that If Option All is selected then to ignore filtering but if any other option is selected then to filter gallery.
For now I'm solving this by simply adding OnSelect option = Clear(SearchList); -- Collection
But by this OnSelect it clears all collection every time i click on Drop down menu. Isn't there any better option to prevent to display All results but display other?
Because if I add OnChange option as :
If(And(SearchDropdrown.Selected.Value ="All",IsBlank(SearchBar)),Clear(SearchList), Filter...
Then it still first load the collection and only then clears it. So it takes couple of seconds of loading..