HI.
I use ZF 1.7.0.
If I try to create JQuery_Form, element select isn't properly
rendered. In JQUery_Form_Decorator_UiWidgetElement in method render
is:
$elementContent = $view->$helper($name, $value, $jQueryParams, $attribs);
where:
$attribs = $this->getElementAttribs();
so, helper for render FormSelect is called with paramters:
array
0 => string 'name' (length=20)
1 => string 'value' (length=2)
2 =>
array
empty /* our attribs*/
3 =>
array
'options' =>
array
empty /* our empty values, or array if set */
'listsep' => string '<br />' (length=6)
'id' => string 'name' (length=20)
In html:
<select name="name" id="name">
<optgroup label="options">
</optgroup>
<option value="listsep" label="<br />"><br /></option>
<option value="id" label="name">name</option>
</select>
It's a bug, or I doing something wrong?
regards,
pch
--
Paweł Chuchmała
pawel.chuchmala at gmail dot com