I am new to YII , I am wondering if a text field in YII can make it inaccessible for editing. If yes, then someone can answer. I do the following way.
<?php echo $form->labelEx($model,'first_name'); ?> <?php echo $form->textField($model,'first_name',array('setEnabled' => false)); ?>
This does not work.
source share