Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get the selected item value in sap.m.select?

Like in sap.m.input we will get the value by getValue().Similarly i have tried to get the selected item value from sap.m.select by

var oActivity= sap.ui.getCore().byId("ACTIVITY").getSelectedItem();

CAN ANYONE HELP ME IN THIS ISSUE?

Tags:
Former Member
Former Member replied

this.getView().byId("ACTIVITY").getSelectedKey();

this.getView().byId("ACTIVITY").getSelectedItem().getText();

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question