Hi guys, I'm just playing with the new Dojo forms in 1.6, and so far they're
great, I'm just trying to wrap my head around some of the combobox
functionality... 

One of the features of comboboxes is that you can provide a drop down list
of options in addition to permitting the user to enter text directly in to
the input. This is working fine for me, except for when I try to populate
the form for editing a record. 

Unless the value of the field is one of the options in the list, it seems
you can't set populate a combobox. I've even tried
$form->getElement('field')->setValue($array['key']); in the controller after
calling the populate method, and still nothing. 

Is this expected behaviour? I was under the impression that a combobox
should cleanly handle values that aren't in the options list, which is kind
of the point of them I thought. Or am I missing something here? 
-- 
View this message in context: 
http://www.nabble.com/Zend-%2B-Dojo-Comboboxes-and-%24form-%3Epopulate-tp19602022p19602022.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to