Skip to Content

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

Value selected in combobox

Hello all,

I am not able to catch the value selected in forntend.My code is like this

View XML

<Select  id="abc12">

  <items>

  <core:Item text="FH" />

  <core:Item text="FG" />

  <core:Item text="FX" />

  <core:Item text="FO" />

  </items>

  </Select>

Controller

var LT = this.getView().byId("abc12").selectedItem();

instead of .selectedItem(); what should i use?

Former Member
replied

Hi Sham,

It should be -

this.getView().byId("abc12").getSelectedItem()

Regards,

Sai Vellanki.

0 View this answer in context

Helpful Answer

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