Closed manolo-alvarez closed 4 years ago
Search bar is up and running; however, the only thing to search by is Name. I want to add the option of searching by state, district, etc.
Got it to work. Couldn't find an example online so I went on to amazon.com and tried to copy their filter/search bar. Amazon and my code use a tag with tags appended. When an option is selected (a button) it updates the index of the selected element/option ( initially 0 ), and uses the value stored in that element to determine what to filter by.
Search bar is up and running; however, the only thing to search by is Name. I want to add the option of searching by state, district, etc.