Answer the question
In order to leave comments, you need to log in
How to use multiple select in yii2 searchModel?
There is a product filter in the backend application, everything works fine, but the filter does not accept multiple select (For example, if I want to view products from several categories). As a result, everything is filtered by the last selected option. Are there any standard means of implementing this issue or how do you solve such a problem?
Answer the question
In order to leave comments, you need to log in
See why you are sending 1 value, and not several.
Give code to searchModel and gridView. Otherwise it's guesswork.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question