Answer the question
In order to leave comments, you need to log in
How to combine the work of two filters?
How to display those studios that have a selected parameter, for example, a picture and that fall under the filtering conditions by the price of the Slider filter?
https://codesandbox.io/s/k52oz6p9q3
Answer the question
In order to leave comments, you need to log in
When receiving data, remember the list of unique params values, build a drop-down list based on them, when choosing an element of the list, remember what is selected in the selectedParams array, when compiling filteredStudios, check that all params of the studio are in selectedParams, something like this .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question