-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENHANCEMENT]: auto-format time when entering #168
Comments
last time i implemented this ages ago my team ended up going numerical first and just ignoring any other chars this helped the |
Simply using type="time" should improve the UX with the least effort. Do you think the like @hairmare? 🤷♂️ We could remove the clock icon for the input with input[type="time"]::-webkit-calendar-picker-indicator {
display: none;
} |
on my desktop |
This should be fine by now. Problematic mobile browsers (older Safari) will fallback to text input and should be covered by a |
Your proposed enhancement
Enhancement Impact
, e.g. if I type in "730" - it would be auto-formatted into "07:30", or "1615" -> "16:15", "15" would become "15:00". ?
as above, e.g.
07 becomes 07:00
15 becomes 15:00
830 becomes 08:30
1615 becomes 16:15
Additional context
This is a verbatim copy of #30 I'm creating it because i love the issue, it should be our true-north UX! Hence i wanna push it and i feel bad pinging the previous author at every point since he isn't subject to timed anymore.
Required
The text was updated successfully, but these errors were encountered: