How can I change the default size of textbox for timepicker in Yii. I'm using timepicker in Yii from the link timepicker.
I have tried the htmlOptions , its now working,
$this->widget('application.extensions.timepicker.timepicker',
array(
'model'=>$model,
'name'=>'starttime',
'select'=> 'time',
'options' => array(
'showOn'=>'focus',
'timeFormat'=>'hh:mm:ss',
'htmlOptions' => array(
'size' => '10', // textField size
'maxlength' => '10', // textField maxlength
),
),
)
);
what is the right way to set HTML options to the timepicker.