new sap.m.ComboBox({
id: "samplecombo",
items: "{path:'sample>/'}",
content: [ new sap.ui.core.Item({
text: "sample>Items", // string
key: "sample>Items" // string
})
]
})
this code is used to call a combobox within the controller, is this code right as am getting an error stating
"Missing template or factory function for aggregation items of Element sap.m.ComboBox".