I'm looking for property with which I could add an empty option item to sap.m.Select control. I saw some approaches the corresponding data source for items-aggregation should contain that empty item. My problem I'm not able to change my data source. Do I have to insert that item after the data has been received from data source (and every time the model has been refreshed)?
Asked
Active
Viewed 947 times
1 Answers
1
You could use the Property forceSelection="false"
If that's not enough.. Yes you have to Insert an Item after the Data have been loaded by your ServiceModel. If you need to indicate that none of the selection options are selected, or you need to allow the user not to select an option, provide (None) (1) as an option and place it at the beginning of the list.

Jan Schulz
- 610
- 7
- 13