The ability to type or pick a Date

Hi everyone,
Sometimes selecting an old date with the mouse is frustrating; it would be much easier to just type it in.
Is there a way to let users manually type a date instead of using the date picker?
Here’s what I’m trying to achieve:

image

Thanks in advance!

Have you tried the Custom AI Component? Ask the AI to make a Date Picker that allows input in your wanted format.

1 Like

Dates are tricky, they are more than simply a day, month and year.

Having your users type in dates is a good way of possibly writing to your database something that will resemble a date but won’t be a date under the hood. Once you do this, you open a Pandora box of issues related to date math, sorting dates, etc.

Date pickers might be slightly annoying, but they guarantee that you are writing a date. Notice what most websites do: they use date pickers.

2 Likes

I did, and it gave me a pretty good one, but it’s messing up a lot in formatting..

Good point, thanks for clarifying this, but in general I really liked the idea of typing/picking a date, because personally when I’m entering data I hate to move my hand from the keyboard to the mouse then from the mouse to keyboard again, so.. u don’t advise to do it?, even if I set it to type to a column then another column to format it?

I suggest you to use the text to date ai action/column to get the right format of date from the input you do in the ai component.

1 Like

@MaximeBaker @nathanaelb What about making the field only accept a certain format.. like If I didn’t make it dd/mm/yyyy it shows an error to fix the entered date

It would be an idea too. But then, a computed date format column would still be needed, but if a specific format is already respected, it wouldn’t need an AI column/action.

Yeah it wont be neccessary, but is there a way to make it

It would actually be necessary if you need to do calculations or filters on the date.

If a user needs to pick a date on Uber, Airbnb, Google Flights, or Booking.com, how do they do it? This is how I would do it in a Glide app. If the UX is good enough for them (and they spent millions doing their research), then it’s good enough for me.

I guess the safest and most efficient way is sticking with Glide’s date picker one,
Thank you all.

2 Likes

Anytime!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.