How to use with time picker #1474
-
How to use Does anyone have used |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
One thing you can do is use the native input If you want a time picker as a UI element then you have to do one yourself or just add an extra input field with |
Beta Was this translation helpful? Give feedback.
-
@dimitur2204 is correct! Since this is a FAQ, we would like to add an example with time picker in #1507. |
Beta Was this translation helpful? Give feedback.
-
@dimitur2204 Why not add a ui element time picker? |
Beta Was this translation helpful? Give feedback.
-
An example with a time picker integration: https://react-day-picker.js.org/guides/input-fields#example-time-selection thanks to @Erik-McKelvey |
Beta Was this translation helpful? Give feedback.
@marcostaborda
One thing you can do is use the native input
<input type="datetime-local" />
which renders an input with date and time input and use that as a way to change time and then usereact-day-picker
to link it to the input https://react-day-picker.js.org/guides/input-fields.If you want a time picker as a UI element then you have to do one yourself or just add an extra input field with
type="time"
which has a native time select on most browsers