Hello people,
I use CJuiAutoComplete in CJuiDialog, works fine, but when I go to select with the mouse or cursor up / down the list proposed disappears. Any idea?
CJuiDialog code
<?php $this->beginWidget('zii.widgets.jui.CJuiDialog', array(
'id' => 'dlg-detail',
'options' => array(
'title' => 'Sede',
'closeOnEscape' => true,
'autoOpen' => false,
'model' => false,
'width' => 1000,
'height' => 450,
'draggable' => false,
),
)) ?>
<div id="detail-section"></div>
<?php $this->endWidget() ?>
CJuiAutoComplete code
$this->widget('zii.widgets.jui.CJuiAutoComplete', array(
'id' => 'ac_comuni',
'name' => 'ac_comuni',
'value' => ($model->citta) ? Comune::model()->find("idcomune='" . $model->citta . "'")->nome : '',
'source' => $this->createUrl('comune/autocomplete'),
'options' => array(
'select' => 'js:function(event, ui){ $("#hidden_citta_id").val(ui.item.id).trigger("change");}',
),
));
Sorry for my poor english.
thanks stefano