Dropdown
Allows the end user to pick a value out of a list shown when the user clicks on the component. This is helpful to capture input by showing a list and asking the user to pick.
Last updated
Allows the end user to pick a value out of a list shown when the user clicks on the component. This is helpful to capture input by showing a list and asking the user to pick.
Last updated
The list of options for the dropdown list. The set can contain a single option, and more options can be added.
Provide the JSON data of the array, consisting of the checkbox options in the key-value pair format.
Below is a sample JSON content - it must be placed in the 'Data' field of the Map section.
Disables the user interaction with the element on the page. It visually indicates that the element is inactive and prevents users from interacting with it when applied. Shows a red-crossed warning symbol and can be customized to disable the widget according to certain conditions using low-code.
This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.
It will be useful when there is a process to be carried out, like running a query to fetch data, before the widget is loaded. The loading
boolean value can be utilized to show the spinner till the process is complete.
Represents the caption for the widget in the user interface. It is recommended to keep the label string short and convey the usage of the widget in the UI.
Overwrites the label text right on the widget box and the list is collapsed down when the user clicks the box.
Property | Description |
---|---|
Property | Description |
---|---|
Event | Description |
---|---|
Property | Description |
---|---|
Property | Description |
---|---|
Label
The text to be displayed to represent the option.
Prefix Icon
Choose one from the set of icons that will be displayed as a prefix logo, just before the option label.
Disabled
Disables the user interaction with the option on the widget. It visually indicates that the element is inactive and prevents users from interacting with it when applied
Hide
This sets whether this option has to be displayed on the screen when the program is loaded. This shows/hides the option both on desktop and mobile devices.
Event Handlers
Click
The event is triggered when the user clicks on the option.
Label
The user must fill in the Label field with the code mentioned to get the data displayed. {{item.title}}
Value
The value field may refer the same Label string or user can mention a value in the JSON array with "value" property.
Prefix Icon
Pick an icon by choosing one from the list of icons. The value picked in this field will reflect in every node of the widget.
Disabled
Disables the user interaction with the option on the page. The value set in this field will reflect in every node of the widget.
Hide
This sets whether this option has to be displayed on the screen when the program is loaded. The value set in this field will reflect in every node of the widget.
Event Handlers
Click
The event is triggered when the user clicks on the option. The event set in this field will reflect in every node of the widget.
Auto
The height is auto-adjusted for the content
Fixed
The height of the widget is fixed
Background
Users can change the colour of the text background using this property. It has all the RGB colour ranges to pick from. It is recommended to use a corresponding background colour that shows the font clearly.
Box Shadow
The is the colour of the shadow that is generated behind the widget box. The X and Y axis values can be altered such that the shadow can be set to fall anywhere behind the widget area. "x-offset" - a positive number specifies the shadow will be on the right of the box, and a negative number will put the shadow on the left of the box. "y-offset" - a negative one means the shadow will be above the box, and a positive number means the shadow will be below the box. "Blur" - if the number is set to 0 then the shadow will be sharp. It will more blurred as the number goes higher, and the shadow will extend further away. "Color" - sets the colour of the shadow. If the colour is not set, the box shadows are drawn in the foreground colour.
Text
Set the colour of the options' text. Recommended to set in contrast with the background.
Loader Color
Pick the colour to the loading spinner when the component shows the loader before getting displayed.
Text Transform
This property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. MDN web docs
Text Decoration
This property sets the appearance of decorative lines on text. Types are "underline", "overline", "line-though", "overline-underline".
Text Size
Set the size of the text in px value - 12px
Text Weight
Increase or decrease the thickness of the font using the list of numbers from 100-800.
Font Family
Type the name of the font family. The reference to the list of font families can be found here: MDN web docs
Font Style
There are 3 types of styles that can be applied: "normal" - The text is shown normally, no style applied. "italic" - The text is cursive. "oblique" - A sloped version of the normal text.
Border Color
Set the colour to the border lines. The border lines will be shown only if that is enabled.
Margin
This value is set in terms of "px" number which creates the space between the border and the content of the widget.
Padding
This value is set in terms of "px" number which creates the space between the border and outer elements.
Border Radius
This sets the radius of the widget's corners, enabling rounded corners on the widget. This value is defined in "px" terms.
Border Width
Set the thickness of the border of the widget using this value. It is defined using "px" terms.
Click
Left
Center
Right
The event is triggered when the user select an option from the list.
Align the text on the left corner of the dropdown area
Alight the text to the center of the dropdown area
Align the text on the right corner of the dropdown area