Hi,

It's normal when naming $this->formSelect as an array, the form auto sets
multple='multiple'?

This is weird and I don't think it should behave like that.

I have to manually define the index, otherwise it won't work as expected.

$this->formSelect('player[]',1,null,$options);
$this->formSelect('player[]',2,null,$options);

Will create this

<select name="player[]" id="player" multiple="multiple"  >

instead of 

<select name="player[]" id="player"  >

Is this a bug or is the normal behavior?

Regards, 

-- 
View this message in context: 
http://www.nabble.com/Bug-width-View-Hlper-formSelect--tp19151556p19151556.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to