DROPDOWN LIST IN YII 2 KARTIK ACTIVE FORM

 

'course'=>[
'type' => Form::INPUT_DROPDOWN_LIST, 
'items'=>ArrayHelper::map(Program::find()->all(),'program','program'),
],

Post a Comment

0 Comments