Pick value IOS style
  • 18 May 2022
  • 1 Minute to read
  • Dark
  • PDF

Pick value IOS style

  • Dark
  • PDF

Display a blocking, iOS-style value picker wheel, allowing the user to select from a given set of label-value pairs.

Confirming the selection triggers the first output. If the dialog was dismissed with the Cancel button, the second output is triggered.

Input arguments

Label Key Type Required? Default Description
Picker options pickerOptions Array Yes Array of options to choose from. For each option, the text defined in the label property will be shown.
Initial option value initialValue Json No Initially selected option, determined by finding the option in Picker options whose value matches this input.
Picker title text title String No Title text to show at the top of the picker wheel.
Confirm button label confirmLabel String No OK Text label on the confirm button.
Cancel button label cancelLabel String No Cancel Text label on the cancel button
Loop picker wheel? loopWheel Boolean No Android-only. If true, the picker wheel will loop around itself.

Output arguments

Number of outputs: 3

Label Key Type Description
Picked option pickedOption Object Option picked by the user, as an object with `label` and `value` properties.
  • Label
pickedOption.label String Picked option label.
  • Value
pickedOption.value Json Picked option value.


No events.


Label Code Description
Unknown error unknown Thrown if an unknown error occurred while picking a value.

Was this article helpful?

What's Next