Label

Properties of Label

  1. Id - unique identifier of the control
  2. Text - a static text can be assigned here or a Field Name enclosed in {} can be used as well
  3. 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."
  4. Text Align - selection for the alignment of the text
  5. Width - width definition (e.g. 100px)
  6. Style Class - assign a predefined SAPUI5 CSS or a CSS class defined in the CSS of the App
  7. 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

  1. Right click on a Form Element and select Add Label

  2. A Label control has been added

Related articles



IQX Business Solutions - FAB 3.10