jeudi 1 octobre 2020

How can I change the default behaviour of an input type date, that allow us typing 6 digits in year instead of 4 digits? Only using firefox

The following code allows type 6 digits in year. Using chrome and Edge with max propertie it goes correctly, but using firefox we can type 6 digits. Does anyone know how to fix this behaviour on firefox?

<input
  type="date"
  max="9999-12-31"
/>

Image showing the behaviour using firefox




Aucun commentaire:

Enregistrer un commentaire