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

Date input not supported on old browsers #285

Open
pettinarip opened this issue Apr 20, 2023 · 1 comment
Open

Date input not supported on old browsers #285

pettinarip opened this issue Apr 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@pettinarip
Copy link
Member

Describe the bug

We are using <input type="date" /> in some places and that is not 100% supported by old browsers. It fallback to a input text, allowing the user to enter whatever they want.

To Reproduce
Steps to reproduce the behavior:

  1. Use an old browser that doesn't support date inputs
  2. Go to https://esp.ethereum.foundation/applicants/small-grants/apply
  3. Select "Community Event" in "Project category"
  4. The field "Event date" will fallback to an input text
  5. Type whatever you want
  6. Get error on submit

Expected behavior

We should have a workaround to normalize the input value when the input is not a date input.

Discuss
Should we support this issue? given that the partial support on browsers is 96.67%?

@pettinarip pettinarip added the bug Something isn't working label Apr 20, 2023
@nhsz
Copy link
Member

nhsz commented Apr 21, 2023

IMO we shouldn't provide support for outdated browsers. Maybe we can add a 'please update your browser' message somewhere above the forms if we detect is old enough could help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants