Hello,
I’m trying to combine some variables to be used as a filter based on the value of a dropdown menu and a search bar. However, whenever I try to run the code and use the search bar I am presented with:
Here is my code for reference:
I’m confused as to why I am getting this kind of error because searchBarFilter should be a variable, not a function and I was able to implement similar code on a similar page. The error also occurs if I swap dropDownFilter and searchBarFilter, which leads me to believe there is some kind of error in my syntax rather than the variables themselves.
This code works just fine.
Can anyone see what might be wrong with my code that would be throwing that error? Thanks in advance.