Pick time
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Pick time

  • Dark
    Light
  • PDF

Pick a time with a blocking dialog.

Selecting a time and confirming will trigger the first output.

Cancelling the dialog will trigger the second output.

If an error occurs, the third output is triggered.

Input arguments

Label Key Type Required? Default Description
Initially selected time initialTime String(time) Yes Initially selected time in the picker, given as a HH:ss text (24-hour clock, e.g. 23:05).
Confirm button label confirmLabel String Yes Confirm Text label on the confirm button.
Cancel button label cancelLabel String Yes Cancel Text label on the cancel button

Output arguments

Number of outputs: 3

Label Key Type Description
Picked time pickedTime String(time) Picked time, as a HH:mm text (24-hour clock, e.g. 16:20).

Events

No events.

Errors

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

Was this article helpful?