Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Quirinus7535yDoesnt the date input pop out a calendar when you click on it? Thats a pretty good quality of life feature right there.
-
joas19425yNative date pickers can be quite bad UX, at least they were in the past. Today, Android for example has a date picker that I think shouldn't be replaced. Maybe conditionally using native / custom date picker would be the good, but not easy solution.
-
C0D4681455yIf it's a desktop only application,
Then a custom or lib for a datepicker is generally easier to use then browser built in ones from a user stand point.
As for Mobile date pickers, revert back to native inputs as users will be accustomed to them. -
xprnio3755y@C0D4 Sounds good, thanks :D Never crossed my mind to switch that between desktop and mobile devices since I knew that at least date inputs already have a calendar popup on most devices :D
-
inaba46255yWhen in doubt, remember to always use the semantic tags. If you need a date field then use input type date. If you don't like the defaults, change them
-
Root825575yWhatever I end up picking, i do my best to allow users to type in their dates/times, and parse them. I hate almost all date time pickers. They're clumsy and slow, and I don't want to force my users to use them unless they really want to.
Related Rants
Is there any benefit of having custom input field dialogs, eg. for date and time? Should I be using just the HTML5 tags as-is (only styling the field itself), or create custom dialogs (creating custom javascript dialogs on top of basic text fields)?
question
web development
html
ux
ui