D
D
Denis Shevchenko2017-01-30 18:31:41
Yii
Denis Shevchenko, 2017-01-30 18:31:41

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

1 answer(s)
M
Maxim Timofeev, 2017-01-30
@webinar

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 question

Ask a Question

731 491 924 answers to any question