const date = await io.input.datetimeLocal('Meeting start time')
console.log(date) // '2024-01-14T14:22'
The label to render above the input.
Default value rendered in input. Default ''
.
The earliest datetime that can be selected. Default undefined
.
The latest datetime that can be selected. Default undefined
.
Affects step increment in seconds. Default 60
.
Disables user input. Default false
.
The small help text to render below the input. Default undefined
.
An asynchronous function that takes unknown
input and outputs either true
or an error message string
to show the user.