-- enportugal <[EMAIL PROTECTED]> wrote
(on Monday, 25 August 2008, 01:57 PM -0700):
> 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?

Normal and expected behavior.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to