The value of the autocomplete textfield in my form will be "playground, " (without quotes). When i type swimmingpool and select that one from the auto complete list the value of the field will change to: "swimmingpool, swim, " instead of "playground, swimmingpool, ".
In FireFox this is working perfect...
<?php
$optionsTag = array(
'name' => 'Daytrip[Tags]',
'url' => array('tag/autocompletetag'),
'max' => 10,
'minChars' => 2,
'delay' => 500,
'matchCase' => false,
'multiple' => true,
'value' => ('' != $daytrip->Tags) ? $daytrip->Tags . ', ' : '',
);
$this->widget('CAutoComplete', $optionsTag);
?>

Help















