I'm trying to create a simple form with two TextInput fields and a
PopUpMenuButton.

My "dropdown" PopUpMenuButton uses an ArrayCollection as dataProvider. All
the labels are displayed and the itemClick event fires and returns the right
item from the collection.
However, upon submitting the form, I can't access the currently selected
item.

dropdown.selected returns false
dropdown.selectedField returns null
Menu(dropdown.popUp).selectedItem returns null
Menu(dropdown.popUp).selectedIndex returns null
Menu(dropdown.popUp).data returns null

However,
dropdown.dataProvider and Menu(dropdown.popUp).dataProvider both return the
ArrayCollection object.

Is there any way to get the currently selected item from the
PopUpMenuButton, without using the itemClick event?

thanks,
philtre
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to