I am trying to make DropDownList
readonly or disable in form for update condition but my code is not working ...
echo $form->dropDownListRow($model, 'sem_id', CHtml::listData(Sem::model()->findAll(), 'id', 'title'/*, array("disabled" => "disabled")*/ , array('readonly' => 'readonly') ));
Error: call_user_func() expects parameter 1 to be a valid callback, array must have exactly two members