S
S
Stanislav2014-11-14 11:32:42
Yii
Stanislav, 2014-11-14 11:32:42

How to include the left text field in the filter array in Yii2?

How to include the left text field in the filter array in Yii2? One more parameter not from fields is necessary.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav, 2014-11-14
@Agregator

I will answer myself.
parameter

$grid = GridView::widget([
...
'filterSelector' => 'select[name="per-page"], input[name="'.$searchModel->formName().'[date_range_option]"]',
...

responsible for such things.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question