Bixby Developer Center

References

initial-value

optionalvalue required

The initial value to show the user in the time-picker. The value should be a valid Time or DateTime. You can also use Expression Language to format or extract an initial value from your existing models.

If not specified, the initial value is set to the current time.

Example

input-view {
...
render {
time-picker {
initial-value ("addDuration(now(), 'PT6H').time") // Use an initial time 6 hours from now
}
}
}

For an example of setting the initial value with default-init, see Initializing Date & Time Concepts in the viv.time documentation or the longer time-picker usage example.