This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
DatePicker Input example #674
mathieu-fournier
started this conversation in
Show and tell
Replies: 1 comment
-
Good job, @mathieu-fournier ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all o/,
Here's a Data Picker Input I've made on codesandbox.
Both selecting a date with the calendar and typing in the input are supported.
I haven't implemented the support for hours and minutes yet.
It support localization. In the example, I use the library date-fns. See the dateFormatter.ts file.
Also here's an example on how to add a Label and error Message to a DatePicker Input.
Disclaimer : It doesnt support all status and features, so these are only examples on which to build upon.
To follow the official development of these features, you can follow this thread : iTwin/iTwinUI#272
Thanks (:
Beta Was this translation helpful? Give feedback.
All reactions