...
Panel |
---|
panelIconId | 1f5e8 |
---|
panelIcon | :speech_left: |
---|
panelIconText | 🗨️ |
---|
bgColor | #F4F5F7 |
---|
|
For example, In in a product review section of an e-commerce application, the Rating component can be used to display user feedback on products. Customers can rate their purchased items from 1 to 5 stars, and the average rating will be shown alongside the product details to help other users make informed decisions |
...
Attributes are the options available for each component, allowing you to customize its appearance and functionality. They help you tailor the look and behavior of your components to fit your needs.
Basic:
...
Attribute Name | Description |
---|
Component Size | This allows users to modify the size of a specific component according to the grid size of layout. This feature allows for flexible customization, enabling users to resize components to fit their specific needs within the defined grid structure.
Panel |
---|
panelIconId | 1f5e8 |
---|
panelIcon | :speech_left: |
---|
panelIconText | 🗨️ |
---|
bgColor | #F4F5F7 |
---|
| For example, If the layout grid size is 3 then layout is divided into 3 sections then you can changes the components size between 1 to 3. |
|
Display As | |
Label | Here user can add label name for Rating. Info |
---|
User can also select label name from different value source Reference: Merge Text Config |
|
Placeholder | A placeholder is a temporary value or text displayed in an input field. |
Type | Here user can select the different data type. |
Dest Type | This attribute specifies whether the user wants to store a value in a variable or a model. Variable: If you choose the variable option, you can select the variable where you want to save the field's value. You can bind this variable's value to the component by creating the appropriate variable. Model: Here, you can select "Model" as the value destination. Note: Value Destination Model field appears when you select "Model " as the Value Destination Type . |
Dest Var | Here you can choose the variable option from this list. Note: This appears when you select "Variable " as the Value Destination Type. |
Value Destination Model | From the value destination model, you can select the specific model where you want to save the field's value. By using a model, you can bind a value to the component, with the value coming from the object used during model creation.
|
Size | You can adjust the rating size to XX-Small, X-Small, Small, Medium, or Large. |
...
Attribute Name | Description |
---|
Required Type | You can make the field required by setting the required type. Here user can select the required type as Always: The field is always required. Never: The field is never required. Conditional Filter: The field is required only if specific conditions are met.
|
Required Error | Users can add a custom error message for the required field. |
Base UI:
...
Attribute Name | Description |
---|
Padding Location | "Padding Location " typically refers to the configuration of spacing around elements |
Padding Size | "Padding Size " refers to the amount of space added inside an element, between the element's content and its border or edge. |
Margin Location | "Margin Location " refers to the spacing around the outside edge of an element |
Margin Size | "Margin Size " refers to the amount of space around the outside edges of an element, |
Style | It is used to apply custom styles to section, such as color, font, size, and more. It allows you to define the appearance of a component by specifying CSS properties directly within the attribute. You can explore more about Styles attribute
|
Classes | |
Hide Space | The Hide Space checkbox removes any empty or extra space around the element when selected. |
UI State:
...
Attribute Name | Description |
Visibility Type | It determines whether a component is visible on the layout. It offers the following visibility types: Always: The component will always be visible. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed. You can explore more about Visibility Type here
|
Read Only Type | It specifies whether a component can be edited by users. It offers the following options: Never: The component will always be editable at any time. Always: The component will never be editable. Conditional: The component's editability is determined based on specific criteria, which can make it either editable or read only as needed.
You can explore more about conditional visibility |
Disability Type | It determines whether a component is disable on the layout. It offers the following visibility types: Never: There is no disable option for this component Always: The component will always be visible. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed. You can explore more about Visibility Type here.
|
UI:
...
Attribute Name | Description |
---|
Layout | |
Copy Enabled? | |
Help Text | |
...
Icon Events | Description |
---|
onload | This event action is triggered when the Rating component is loaded. |
click | This event action is triggered when the Rating component is clicked. |
...
Note: Similarly you can create event action for click.
on Load Event:
...
In the image below, you can select the created workflows.
...
Note: You need to create a workflow for selecting from this list.
For more information about Workflow check this out.
onload Events:
We have an onload event that runs when the component is loaded
Panel |
---|
panelIconId | 1f5e8 |
---|
panelIcon | :speech_left: |
---|
panelIconText | 🗨️ |
---|
bgColor | #F4F5F7 |
---|
|
For example, when a form is loaded, you can choose fields to be prepopulated by mapping field values using input mapping at the time the form component is loaded. |
Input Mapping
...
Input Mapping: "Whenever an event is triggered and you want to pass data to destinations such as models, variables, or components, you can use input mapping to achieve that.
...
Include Page |
---|
| Events (Common) |
---|
| Events (Common) |
---|
|