![]() ![]() Provides a hint such as specific requirements for what to choose. Whether the element should receive focus on render.Ī description for the field. Often paired with the necessityIndicator prop to add a visual indicator to the input. Whether user input is required on the input before form submission. Whether the input should display its "valid" or "invalid" visual styling. Whether the input can be selected but not changed by the user. The maximum allowed time that a user may select. The minimum allowed time that a user may select. Whether to hide the time zone abbreviation.Ī placeholder time that influences the format of the placeholder shown when no value is selected.ĭefaults to 12:00 AM or 00:00 depending on the hour cycle. By default, this is determined by the user's locale.ĭetermines the smallest unit that is displayed in the time picker. Whether to display the time in 12 or 24 hour format. Whether the time field should be displayed with a quiet style. By default, TimeField will emit Time objects in the onChange event, but if a CalendarDateTime or ZonedDateTime object is passed as the value or defaultValue, values of that type will be emitted, changing only the time and preserving the date components. TimeField only supports selecting times, but values with date components are also accepted. This library handles correct international date and time manipulation across calendars, time zones, and other localization concerns. Time values are provided using objects in the package. ![]() Alternatively, a controlled value can be provided using the value prop. ![]() An initial, uncontrolled value can be provided to the TimeField using the defaultValue prop. installĪ TimeField displays a placeholder by default. TimeFields allow users to enter and edit time values using a keyboard.Įach part of the time is displayed in an individually editable segment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |