The default implementation provides a dropdown list of times in 15-minute increments, formatted in for a 12-hour clock.
You can modify the list to increment time in 5, 10, 15, or 30 minute intervals.
12- or 24-hour formatting
Depending on readability preference, the time picker can format the labels in either 12- or 24-hour time. Regardless of label formatting, this component returns a 24-hour time formatted string when changed.
Consistent with all other inputs,
onChange props for use in a controlled form setting.
valueaccepts a 24-hour formatted time string (e.g.
onChangereturns a 24-hour time string
If you don't want to control the form value externally, but still want to listen for changes, you can still pass in an initial