Remix.run Logo
anton-107 8 hours ago

Why do all the UI component libraries always feature an accordion (something i can build myself in 5 minutes and very rarely need), but always omit a date picker / calendar component (something that is needed almost in every corporate web form and really requires a lot of effort to build)?

anton-107 8 hours ago | parent [-]

I must appoligize - it is there, hidden under "Form elements" in the left menu. Kudos to the authors!

speedgoose 8 hours ago | parent [-]

Isn't it the one from the web browser? An <input type="datetime-local" />

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

webstrand 8 hours ago | parent [-]

That one is highly inconsistent, on some platforms its useless. For instance on Chrome/linux entering historic dates via the datepicker takes minutes to slowly scroll through the years. Always build your own datepicker, you know better what UX pattern will best suit your application and your users.