Properties of Label
- Id - unique identifier of the control
- Text - a static text can be assigned here or a Field Name enclosed in {} can be used as well
- Required - from https://sapui5.hana.ondemand.com - "Indicates that user input is required for input control labeled by the sap.m.Label. When the property is set to true and associated input field is empty an asterisk character is added to the label text."
- Text Align - selection for the alignment of the text
- Width - width definition (e.g. 100px)
- Style Class - assign a predefined SAPUI5 CSS or a CSS class defined in the CSS of the App
- Visible - set a boolean value or a variable with type boolean from the Model to control the visibility property
Step-by-step guide
How to add a Label
- Right click on a Form Element and select Add Label
- A Label control has been added
...
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...