title: How can I restrict a date input value?
body: <p>I want to display an input type date from from today to future.</p>
  <p>I tried this:</p>
  <pre><code>&lt;input type=&quot;date&quot; id=&quot;dateAppointment&quot; name = &quot;dateAppointment&quot; min=&quot;2022-05-21&quot; placeholder=&quot;date&quot;  required/&gt;
  </code></pre>
  <p>But when I display it I can still select any time, it does not restrict me as I indicate. What is the problem?</p>
  <p>If is necessary some code I work with Javascript.</p>