When I select one of the values in my DropDown (or ComboBox, tried both), the event gets triggered correctly, but the selected item is not shown when the DropDown is closed (the box stays empty). I thought it was a default behaviour to be filled in (like e.g. Language dropdown). I have the problem with both static and dynamically loaded controls.
<DropDown
Id="MyNS.SharePoint.Ribbon.MyGroup.Dropdown"
Sequence="1"
Command="MyNS.PageComponent.Command.DoAction"
Width="150px"
TemplateAlias="m2">
<Menu Id="MyNS.SharePoint.Ribbon.MyGroup.Dropdown.Menu">
<MenuSection Id="MyNS.SharePoint.Ribbon.MyGroup.Dropdown.MenuSection">
<Controls Id="MyNS.SharePoint.Ribbon.MyGroup.Dropdown.MenuSection.Controls">
<Button Command="SomeCommand" Id="MyNS.SharePoint.Ribbon.MyGroup.Dropdown.Button1" LabelText="Sometext" />
<Button Command="SomeCommand" Id="MyNS.SharePoint.Ribbon.MyGroup.Dropdown.Button2" LabelText="SomeText" />
</Controls>
</MenuSection>
</Menu>
</DropDown>