Quantcast
Channel: SCN : Unanswered Discussions - SAP Fiori
Viewing all articles
Browse latest Browse all 1879

How to get selected key value in sap.m.Select?

$
0
0

Hi Gurus,

 

I bound the items with a entity set in my OData, but now here comes the question, i.e. how could I get the use selected key or value?

Here is the select/dropdown box snapshot.

123.png

And here is the code snippet snapshot.

123.png

The content in BPRoleModel>/d/results, as what is seen in the last snap pic, has been populated in the select/dropdown box successfully via this in controller.

123.png

The value BPGroup is a field name in an entity.

123.png

How could I get the key value and put it into the field BPGroup?


Viewing all articles
Browse latest Browse all 1879

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>