title: Filter globally using yii2 dropdown list
body: <p>I have my drop down list which displays the data from the model, but when I select them it doesn't filter the data accordingly.</p>
  
  <pre><code>  &lt;?php  $items = ArrayHelper::map(app\models\Facility::find()-&gt;all(),'facility_id' ,'facility_country');?&gt;
  
     &lt;?= $form-&gt;field($model, 'facility_country')-&gt;dropDownList($items)-&gt;label(false); ?&gt;
  </code></pre>
  
  <p>The above mentioned is the drop-down list in the search form.In the filterSearch model I have used my query like the below mentioned code.</p>
  
  <pre><code>  $query-&gt;orFilterWhere(['like', 'facility_name', $this-&gt;facility_name])
          -&gt;orFilterWhere(['like', 'facility_country', $this-&gt;facility_country]);
  </code></pre>
  
  <p>Can I know what the issue is? Thank you!!</p>