Skip to Content

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

Cannot set the value attribute for a select tag in SAP UI5 application


We are trying to use the SAPUI5 "Select" control in our application, the options get bound to the data correctly but we are unable to set the "value" attribute for the option tag. Here is the code snippet being used:

<Select name="brand" items="{Brand}">

     <core:Item key="{Key}" text="{Description}" />


The output is:

<select class="sapMSltNative" name="brand" id="__select0-select" aria-hidden="true" tabindex="-1">






Please help on how should we set the value attribute for the option tag.



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