Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

UI5: Dropdown box mandatory

$
0
0

Hi,

 

I'm trying to write some code to check if the user has selected anything in the drop down box.

 

For input fields, you can set:

this.byId('description').setValueState(sap.ui.core.ValueState.Error)

 

And the input field in error would have a red box around it marked as error.

 

However in sap.m.Select there is no such thing as "ValueState".

 

 

How should we handle this?

 

Cheers

 

Michael.


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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