I have requirement where on selecting the dropdown value from the combobox i have create a lable and button dynamically.
Below is the code which i have used to get the selected value but its working
var item = sap.ui.getCore().byId("combo");
console.log("you have selcted"+item.getSelection());
Can somebody help me how to get the selected values and generate the fileds dynamically ?