Date pickers: do you let people type the date, or force the calendar grid?
I'm redesigning a booking form and the date field is turning into the hardest part. A calendar grid is great for "sometime next week" but painful for a birth date from decades ago, where people end up clicking the back arrow forever.
Right now I'm leaning toward a text input that accepts typed dates, with an optional calendar popover for browsing. The tricky bits are date format (DD/MM vs MM/DD) and showing clearly what was parsed.
How do you handle date input in your products? Separate patterns for near dates vs far dates, or one component for everything?
Comments · 4
Let people type, with a calendar as a helper. Show the expected format in the placeholder, accept sensible variants, and validate gently. For birth dates, three separate fields or a typed input beats scrolling through decades.
As a beginner dev, native date inputs saved me, but they look different in each browser. Is it better to rely on those or build a custom picker?
Native inputs are a good default because they get the right keyboard on mobile and handle accessibility for free. Build a custom picker only if you have a clear need they can't meet.
Every extra click on a booking form costs conversions. Typing is faster for anyone who knows their date, so make it the default and keep the calendar for browsing.