Properties of Text Area
- Id - unique identifier of the control
- Rows,Cols - defines the number of visible lines and columns (e.g. value 2,5 means 2 lines with 5 columns)
- 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
- 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.
- Placeholder - text that will be displayed before an input has been made. A help or instruction text can be put here (e.g. instruction for the correct format)
- Style Class - assign a predefined SAPUI5 CSS or a CSS class defined in the CSS of the App
- Width - set the width of the control (e.g 50px). This setting overwrites the setting in the Cols
- 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
- 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 additional information.
Step-by-step guide
How to add a Text Area
- Right click on a Form Element and select Add Text Area
- A Text Area control has been added
Related articles
0 Comments