A simple action for CJuiAutoComplete

Comparing #2 with #3

Revision #3 was created by Thiago Souza Thiago Souza on Sep 2, 2011, 7:06:17 PM.

I've got problems using this widget without the name param. Adding one line fix this.

Content

[...]
<?php
$this->widget('zii.widgets.jui.CJuiAutoComplete', array(
'attribute'=>'my_name',
'model'=>$model,
'sourceUrl'=>array('my/aclist'),
        'name'=>'my_input_name',
 
'options'=>array(
'minLength'=>'3',
),
'htmlOptions'=>array(
'size'=>45,
'maxlength'=>45,
[...]