I have this simple Angular app which displays movies in table format and has a search input and dropdown (select element) with genre values to filter/search results. I am trying to figure out how I can filter my results by both terms typed into the search input AND the dropdown.
Whenever a value is selected from the dropdown, you will see the console log
Just add another filter with the pipe. Like:
ng-repeat="movie in movies | filter:searchBar | filter: selectedGenre | orderBy:sortType:sortReverse"