title: 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
body: <p>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?</p>
  <pre><code>&lt;input
    type=&quot;date&quot;
    max=&quot;9999-12-31&quot;
  /&gt;
  </code></pre>
  <p><img src="https://i.stack.imgur.com/ZoyYe.png" alt="Image showing the behaviour using firefox" /></p>