Skip to content

Switchinput

[SwitchInput]{#SwitchInput data-4search="ui/b/switchinput.tsx:SwitchInput;section"}

The SwitchInput component is a field-editor switch to change between on and off.

Props:

value : Contains a boolean indicating whether the switch is on or off. readonly : Make this component non editable for the user.

Events:

valuechange : Event emitted whenever the value changes, which is provided as event.target.value.

Functions

[SwitchInput]{#SwitchInput data-4search="ui/b/switchinput.tsx:SwitchInput;func"} (props) : A toggle switch input for boolean values.