echo $form->;dropDownList($model,‘country’, CHtml::listData(Modelname::model()->findAll(), ‘value’, ‘id’), array(‘empty’=>;’–please select–’));
echo $form->;dropDownList($model,‘country’, CHtml::listData(Modelname::model()->findAll(), ‘value’, ‘id’), array(‘empty’=>;’–please select–’));
<?php
$suit = Yii::app()->common->listParameter(‘Nature Of Suit’, Yii::app()->language);
echo $form->dropDownList($model, ‘nature_of_suit’, $suit, array(
'empty' => '-- Select--',
'style' => 'width:150px;',
"disabled" => $oldDisabled,
'options' => $suitDropDown
));
?>
What was the issue?