Properties of Select
- Id - unique identifier of the control
- Actions on Change - a place to inject a custom code or action in the event that the value changes. A common application of this is calling a Javascript Function.
- Bound Field - the Field Name that links the Control to the Data Model.
- GridData(LMS) - control's column values for Large, Medium and Small screens. Please refer to GridData for further details
- Style Class - assign a predefined SAPUI5 CSS or a CSS class defined in the CSS of the App
- Enabled - set a boolean value or a variable with type boolean from the Model to control the enable property
- Visible - set a boolean value or a variable with type boolean from the Model to control the visibility property
- Filter - filter settings to be passed to the entity set maintained in the Select Template
- Mandatory - set a boolean value or a variable with type boolean from the Model to control the mandatory property
Advanced - properties of the control not available in the above list can be added here.
Setting Additional Properties provides further information about the Advanced property
Properties of Select Template
- Key - key indicator or variable from the entity set
- Text - Key description to be displayed from the entity set
- Model - oData model to be used
- Entity Set - Entity set to be called. Leave this empty if the Model selected is "configuration"
- Definition - only applicable if the Model selected is "configuration". This is define explicitly the values that will be available for selection.
Properties of Individual Items
- Id - unique identifier of the control
- Key - key indicator or variable
- Text - Key description to be displayed
- Text Direction - options are RTL (Right to Left) or LTR (Left to Right)
- Enabled - set a boolean value or a variable with type boolean from the Model to control the enable property
Step-by-step guide
How to add a Select
- Right click on a Form Element and select Add Select
- The Select and Select Template controls have been added
- Individual items can also be added into the Select Control by doing a Right click on the Select and select Add Individual Items
Related articles