Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
panelIconId1f5e8
panelIcon:speech_left:
panelIconText🗨️
bgColor#DEEBFF#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:

...

Value Destination Types

Note: Value Destination Model field appears when you select

"

Model

"

as the Value Destination Type.

Attribute Name

Description

Component Size

  • This allows users to modify the size of a specific component according to the grid size of layout.

Panel
panelIconId1f5e8
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

Display As allows you to select data type options to define how the field will be display.

Panel
panelIconId1f5e8
panelIcon:speech_left:
panelIconText🗨️
bgColor#F4F5F7

For example, if you have a text field and choose to display it as a picklist, the data will be stored as text but displayed as a picklist

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.

Info

Value Destination VariablesDest Var

Here you can choose the variable option from this list.

info

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.

...

Validation:

...

Attribute

GroupAttribute

Name

Description

UI

Component Size

  • This allows users to modify the size of a section within the layout according to the grid size.

  • This feature allows for flexible customization, enabling users to resize components to fit their specific needs within the defined grid structure.

Info

Note: Currently, we support Component Size 1 for Section. All other sizes will throw an error alert displaying Max allowed value is 1 .

Padding Location

"Padding Location"

Required Type

You can make the field required by setting the required type.
Here user can select the required type as

  1. Always: The field is always required.

  2. Never: The field is never required.

  3. 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

  • It is used to apply SLDS classes to section, if needed.

Visibility

...

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:

  1. Always: The component will always be visible.

  2. 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

Info

Reference: Conditional Visibility

Disability

...

Attribute Name

Description

Read Only Type

It specifies whether a component can be edited by users. It offers the following options:

  1. Never: The component will always be editable at any time.

  2. Always: The component will never be editable.

  3. 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

Info

Reference: Read Only.

Disability Type

It determines whether a component is disable on the layout. It offers the following visibility types:

  1. Never: There is no disable option for this component

  2. Always: The component will always be visible.

  3. 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.

Info

Reference: Conditional Disability

...

UI:

...

Attribute Name

Description

Component Label

It simply shows the name of the Rating component

Layout

Field Layout allows you to arrange fields on the form.
For more details check this

Info

Reference: Layout

Is Copy Enabled

After marking the checkbox as true, a copy icon will appear beside the name field.

Help Text

Provides additional guidance or information about a field or element to assist users in understanding how to complete it or what data is expected.

Layout:

...

Attributes

Description

None

In the None layout, only the input/output field is visible, with no label displayed.

Stacked

In a stacked layout, the input/output field is placed below the field label, with a small margin around the label.

Horizontal

In a horizontal arrangement, the input/output field is placed before the field label, with a small margin around the label.

Single Column

In a Single Column layout, the input/output field is larger than the field label, and displayed in single column grid.

No Label

In the No Label layout, only the input/output field is visible, without the label.

Include Page
Visibility and Disability
Visibility and Disability

...

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.

...

Info

Note: "You need to create a workflow for selecting from this list.

For more information about Workflow check this out.

Info

Reference: Workflow

onload Events:

  • We have an onload event that runs when the component is loaded

Panel
panelIconId1f5e8
panelIcon:speech_left:
panelIconText🗨️
bgColor#DEEBFF

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)