<?= $form->field($studentModel, ‘index_id’)->dropDownList(ArrayHelper::map(student::find()->all(), ‘index_id’, ‘code’)) ?>
i need a list box for selection of multi value rather than dropdown please tel how to do it??
<?= $form->field($studentModel, ‘index_id’)->dropDownList(ArrayHelper::map(student::find()->all(), ‘index_id’, ‘code’)) ?>
i need a list box for selection of multi value rather than dropdown please tel how to do it??
Hello,
I never used this extension before, but i think it worth a try. Yii2 Multiselect extention