Time Field
A time field allows users to enter and edit time values using a keyboard. Each part of a time value is displayed in an individually editable segment.
Installation
CLI
Manual
Basic
View
Code
Default
––––AM
Readonly
––––AM
Invalid
––––AM
Disabled
––––AM
Hour Cycles
Change the hour format in the time field by using the hourCycle
prop.
View
Code
Event time
1345
Controlled
View
Code
Event time
1145AM
value: {"hour":11,"minute":45,"second":0,"millisecond":0}
Validation
View
Code