Hi, sorry for being noob. but i don’t seem to get this working
I wrote down
in the view file:
<?php echo $form->dropDownList( $model, 'type_id', $model->getTypeOptions()); ?>
in the model file:
public function getTypeOptions() {
return array(
self::TYPE_BUG=>'Bug',
self::TYPE_FEATURE=>'Feature',
self::TYPE_TASK=>'Task',
);
}
Can anyone see anything wrong?