I make a conclusion in this way
echo Html::activeCheckboxList($model,'brand',$brands) And it turns out in such
<label><input type="checkbox" name="Search[brand][]" value="1"> Asus</label> <label><input type="checkbox" name="Search[brand][]" value="2"> Acer</label> <label><input type="checkbox" name="Search[brand][]" value="3"> Lenovo</label> How to make it so that in the values of value there is not a serial number, but a brand name?