DDD: 2 Models on a 3rd Models form

It’s empty because you are giving it an empty array() -


<?php echo $form->dropDownList($model,'SubCategoryId',array()); ?>

Hi Mdomba,




It's empty because you are giving it an empty array() -


<?php echo $form->dropDownList($model,'SubCategoryId',array()); ?>

Izzit i need to pass a parameter inside the array() or need perform what function?? Can give me some idea. THanks


<?php echo $form->dropDownList($model,'SubCategoryId',array(params)); ?>