Skip to main content

Toggle component

How to use the toggle component in the Method App Builder.

A toggle allows the user to set a value to Yes (True) or No (False).

📌 Note: When the toggle is switched to the right and turns blue, the toggle is set to Yes. The toggle is set to No when switched to the left.


Toggle component properties

Selecting the toggle component shows its configurable properties.

Data source

Display

Label

Text to identify the component.

Show label

Toggle the visibility of the label for the user.

Label position

Position the label left or right of the toggle.

Default value

Initial value for the dropdown: Yes / No.

Default state

The default state of the component (Regular/Hidden/Disabled).

Events

Change

Event triggered when user changes the state of the toggle.

Did this answer your question?