I am trying to place a switch control inside a NavigationListItem:
<tnt:NavigationListItem text="Open Street Map">
<HBox>
<Switch name="osm" state="false">
</Switch>
<Label text="Open Street Map" class="sapUiSmallMarginBottom"/>
</HBox>
</tnt:NavigationListItem>
I get the error saying that:
Uncaught Error: "Element sap.m.HBox#__hbox0" is not valid for aggregation "items" of Element sap.tnt.NavigationListItem#__item0