Segmented Control

It is a set of choices or options arranged horizontally, and the user can pick one choice from the set. Recommended using the widget to show related multiple toggle options.

Basic

Manual

The list of options for the toggle set. The set can contain a single option, and more options can be added.

Map

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.

[
  {
    "count": "32",
    "title": "Channel Uploads",
  },
  {
    "count": "253",
    "title": "Oldest",
  },
  {
    "count": "25",
    "title": "Newest",
  },
  {
    "count": "10",
    "title": "Top",
  }
]

Default Value

Enter the default option to be toggled-on when the widget is loaded. This can also be retrieved from the backend using query or loaded using low-code

Validation

Required Field

Refers to the field that must be completed by the user, which means the field must be entered with a valid value before submitting the information.

Custom Rule

Apart from validating the entry using the regex rule, users can also use this property to write low-code and check other aspects. For example - check if the city selected in the previous field matches the desired value, throw a custom message to the user even before capturing the entry on this field.

Interaction

Event Handlers

Disabled

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.

Read-only

Hide

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.

Set the visibility

Label

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

Tooltip

This tooltip pops up when the user moves the mouse over the label area of the widget. This is commonly used to provide some extra or important information to the user on the usage of the widget.

The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves. This information will be contextual, useful, and informative.

Position

Alignment

Width

Enter a number value to set the width of the widget. It can be set in terms of pixels and percentage.

Layout

Widget Tooltip

This tooltip pops up when the user moves the mouse over the input area of the widget. It is commonly used to hint at the type of input the user needs to provide.

The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves. This information will be contextual, useful, and informative.

Style

Last updated