Why can't I pass a name attribute in $htmlOptions array of the CHtml::dropDownList() method? Looking through the source code of the dropDownList() method, I see that $htmlOptions['name'] gets overwritten and is ignored. I understand this as a bug. It should first check for the existence of $htmlOptions['name'] and in case it does not exist, then set it.
↧