title: Textfield type date in React
body: <p>I have a requirement to display start and end-date in material UI. The end-date field must not allow users to select before dates from selected start-date. I am using text field type date material UI, but is not working. please help</p>
  <pre><code>&lt;TextField 
      type=&quot;date&quot;
      defaultValue={moment().format(&quot;yyyy-mm-dd&quot;)}  
      onChange={endDate}
      InputProps={{
         min: &quot;2020-01-04&quot;,
      }}
  /&gt;      
  </code></pre>