This control is used for fields where you want to show text on the
form as Labels and no input from users is involved or you want to
display non-editable data from GET API on the form.
You have to go through a three-step form wizard to enable this
Control, i.e., Design, Validation & Advance. Let’s explain
these steps below:
1st Step – Design
This is the first step of
the “Label” control form wizard. Here
you are required to fill in the following details:
Database Field Name (mandatory): Defines the name of the database field to which the component's data will be mapped and stored.
Placeholder: Defines the hint text displayed inside a form field or input box when it is empty, providing guidance on the expected input.
Column Width: Specifies the width of a column in a layout or grid system, allowing control over how much space the column occupies relative to others.
Web Icon: Specifies the icon to be displayed alongside the field or control in a web interface, enhancing visual representation or user interaction.
Enable Tooltip?: This button is set as “Yes” if you need to enable Tooltip Text in this Control
Tooltip Text: Defines the text to be displayed in the tooltip when the user hovers over the icon.
Select Tooltip Position: Select tooltip position from the following Top, Right, Bottom or Left
2nd Step – Validation
Is Mandatory?: This button is set as “Yes” if you need to apply this Control as mandatory
Error Message: Here, you can define the error message that will be displayed if this control is left blank.
Is Mask: Determines whether the input field should use masking to format the entered data.
Mask Type: Specifies the type of mask to be applied to the input field.
3rd Step – Advance
Design
Bootstrap Column Class: Specifies a predefined Bootstrap CSS class to style and format the component, enabling quick customization and responsive design.
Custom Class: Specifies a user-defined CSS class to apply custom styles and formatting to the component.
Is Show Color: Determines if the color property should be applied to the element, enabling color customization for visual emphasis.
Is Truncate?: Choose when you want to truncate the text
Is use in Grid?: Use this property when the Label is added in a Grid. When selected "Yes", you shall have to further configure the Text alignment of the Label in the Grid.
Is Bold Header: Specifies whether the header text in a grid or label should be displayed in bold for emphasis.
Column Text Align: Defines the text alignment for a column in a grid or layout.
Others
Select Format Type: Select format type from the following H1, H2, H3, H4, H5, H6, P, Plain Text
Max Length: It is used when we want to limit the number of characters that can be displayed on the screen
Is Page Variable (Value field): Indicates whether the value field is linked to a page variable for dynamic data binding.
Label type: Choose from Text (for only Text), Value (To bind value from GET API) or Both (Display both Text and Value)
Text: Type the “Text” that you want to display
Value field: Put the attribute from GET API whose value you want to be displayed
Value Field Type: Choose from Number, Text, Date, Time, Date and Time, Email, Phone, Website, Address, etc.
Show in one line: Ensures that the text or content is displayed in a single line, regardless of its length.
Horizontal Alignment: Select horizontal alignment from the following Left, Right, Center, Between or Around
Vertical Alignment: Select vertical alignment from the following Top, Bottom, Center, Baseline or Stretch
API: Configures API settings for fetching data dynamically.
API end point [Refresh] (mandatory): Specifies the mandatory API endpoint to fetch data and includes a refresh option to update the data.
Add API Parameter: Allows adding query parameters to the API call for customized data retrieval.
Mobile
Mobile Icon: Defines the icon to be used for mobile view.
Mobile Color: Specifies the color for the mobile icon or element.
Width: Sets the width of the element.
Minimum Height: Specifies the minimum height of the element.
Number Of Lines: Determines the number of lines the text should span.
Flex: Specifies how a flex item will grow, shrink, or maintain its size within a flex container, determining its proportion relative to other items.
Align Self: Select align self from the following Auto, Top,
Center, Bottom or Stretch
Line Height: Specifies the vertical spacing between lines of text, affecting the overall text layout.
Text Align: Controls the horizontal alignment of the text.
Margin: Sets the outer spacing around the element.
Margin Left: Defines the space or gap on the left side of an element, controlling its position relative to adjacent elements.
Margin Top: Specifies the space or gap at the top of an element, determining its vertical position relative to elements above it.
Margin Right: Sets the space or gap on the right side of an element, influencing its horizontal positioning relative to adjacent elements.
Margin Bottom: Defines the space or gap at the bottom of an element, controlling its vertical positioning relative to elements below it.
Margin Left Auto: Automatically adjusts left margin.
Margin Top Auto: Automatically adjusts top margin.
Margin Right Auto: Automatically adjusts right margin.