if i generate a dropdownlist with
<?php echo CHtml::dropDownList('ProjectId',0, $this->getProjects()); ?>i got this in return
<select id="ProjectId">
<option value="-1"></option>
...
</select>
But like this, on submit the selected value will not be transmitted.
This does not occur by activeDropDownList.
I could fix it by adding following Line in CHtml after Line 433:
$htmlOptions['name']= $name;
then i got:
<select id="ProjectId" name="ProjectId">
and submiting works fine.
Greetings from Germany
me23

Help











