Hi Jason,
I tried using ListBox like this-
new sap.ui.commons.ListBox( "lb1", {
items : $.map(SuggestHelp.split("-"), function(v, i) {
return new sap.ui.core.ListItem({ text : v});
}), height : "150px"
});
But I stuck in the aggregation problem "Uncaught Error: "Element sap.ui.commons.ListBox#lb1" is not valid for aggregation "suggestionItems" of Element sap.m.Input#my_ID"
Actually, I am using sap.m.input to enter the item and it seems like listbox cannot be used here...
Any suggestions?
Thanks,
Atul