Defines a desired user interface to present a binary switch, or toggle. This should be used when selecting between two options. See https://developers.arcgis.com/web-map-specification/objects/formSwitchInput/.

interface FormSwitchInputJson {
    offValue?: string | number;
    onValue?: string | number;
    type: "switch";
}

Properties

offValue?: string | number

The coded value when switch state is off.

onValue?: string | number

The coded value when switch state is on.

type

The input type identifier.