Skip to content

Date input not supported on old browsers #285

@pettinarip

Description

@pettinarip

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%?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions