amplesdk
amplesdk copied to clipboard
menupopup selectedItem being nulled after command complete.
e.g. Test case: http://pastebin.ca/2306727
It appears that during the command call, selectedItem is set and the selected item has "selected":"true" however, afterwards selectedItem is nulled and all items appear as "selected":"false".
This is with the current github release.
I've added some more information to the example: http://pastebin.ca/2306740
It appears that during the command, menupopup.selectedItem is set, but not menulist.selectedIndex. menulist.selectedIndex shows the previous value. Afterwards,menulist.selectedIndex is correct while menupopup.selectedItem is null.