Details
Description
In 1.8.4, doing something like this in a view:
echo $this->filteringSelect(
'select',
'20',
array(
'store' => 'store',
'storeType' => 'dojo.data.ItemFileReadStore',
'storeParams' => array('url' => '/my/data'))
);
Fails, the 'value' is not set because the store is not loaded when it it parses the input. With a filteringSelect the input remains a textbox with the value set, but it is not a dojo object, and everything else on the page breaks. With a comboBox the value and label are set to the identifier value that I am passing instead of the label getting set properly (assuming because combo box allows things not in the store). I tried putting a 'value' option in the params array, but that doesn't seem to propagate, and even if I test this by hand it still doesn't load properly because of the way things are getting parsed.
Anyone have any idea's? Besides creating all this stuff by hand?
Issue Links
| This issue is duplicated by: | ||||
| ZF-7360 | Zend_Dojo_Form_Element_FilteringSelect value is not populated after calling the populate method on the form object |
|
|
|
Confirmed.