Skip to content
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

Switch time inputs to input[type="time"] #52

Open
fmartingr opened this issue Aug 31, 2023 · 0 comments
Open

Switch time inputs to input[type="time"] #52

fmartingr opened this issue Aug 31, 2023 · 0 comments

Comments

@fmartingr
Copy link
Contributor

The create event modal uses simple <select/> elements to select the time of the event. <input/> elements can be of type time which will leave the implementation to the browser with an already defined UI and they also allow for a min/max/step parameters to customize the options.

Acceptance criteria

  • Migrate custom selects to input[type="time"]
  • Do not break current integration with the date field:
    • If the date is today, we should only allow a start/end time after the current time.
    • End time should only allow times after Start time.

Related tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant