[img]https://i.sstatic. net/KvT0W.png[/img]
Ниже приведен код, который я использовал, на мой взгляд:
Код: Выделить всё
$this->widget('ext.combobox.EJuiComboBox', array(
'model' => $PatientProblem,
'attribute' => 'problem_definition_id',
'id'=>'eeed',
'data'=>Yii::app()->cache->get('PATIENT_PROBLEM'),
// options passed to plugin
'assoc'=>true,
'options' => array(
'allowText' => false,),
// Options passed to the text input
'htmlOptions' => array('size' => 6),
));
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/15326831/ejuicombobox-throwing-undefined-offset-error-on-specific-model-attributes[/url]