id | section | subsection | cssPrefix | propComponents | beta | |
---|---|---|---|---|---|---|
Time picker |
components |
date-and-time |
pf-v5-c-time-picker |
|
true |
import { TimePicker } from '@patternfly/react-core';
Appending the TimePicker to the document.body
may cause accessibility issues, including being unable to navigate into the menu via keyboard or other assistive technologies. Instead, appending to the "parent"
is recommended.
The minTime
/maxTime
props restrict the options shown for the user to select from as well as trigger the invalidMinMaxErrorMessage
if the user enters a time outside this range.