title: I am trying to use material ui Select in Formik but getting warning about findDOMNode is deprecated in StrictMode
body: <p>Is there a way to use the Material UI select in Formik without getting this findDOMNode warning message?
  I have a simple ReactJs App. I have not posted the whole code but just the section where I am facing this issue.
  Formik version is : 2.1.5.
  Please check the warning message here : <a href="https://i.stack.imgur.com/03klV.png" rel="nofollow noreferrer">findDOMNode warning message</a></p>
  <pre><code>import {
    Grid,
    Typography,
    TextField,
    FormControl,
    InputLabel,
    MenuItem,
    Select,
    FormHelperText,
  } from &quot;@material-ui/core&quot;;
   import { Formik, Field, Form, ErrorMessage } from &quot;formik&quot;;
  
  const data = {hours : ''}
       
  &lt;Formik
   initialValues={data}
   &gt;
      &lt;Form&gt;
       &lt;Grid item xs={12} md={12}&gt;
           &lt;Typography variant=&quot;subtitle2&quot;&gt;TC1 CONFIGURATION&lt;/Typography&gt;
        &lt;/Grid&gt;
        &lt;Grid item xs={12} md={12}&gt;
          &lt;Grid container spacing={2}&gt;
            &lt;Grid item&gt;
              &lt;FormControl&gt;
                &lt;InputLabel id=&quot;demo-simple-select-label&quot;&gt;
                  Hours
                &lt;/InputLabel&gt;
                &lt;Field
                  name=&quot;hours&quot;
                  type=&quot;select&quot;
                  as={Select}
                &gt;
                  &lt;MenuItem value={60}&gt;01&lt;/MenuItem&gt;
                  &lt;MenuItem value={120}&gt;02&lt;/MenuItem&gt;
                &lt;/Field&gt;
              &lt;/FormControl&gt;
            &lt;/Grid&gt;
          &lt;/Grid&gt;
        &lt;/Grid&gt;
      &lt;/Form&gt;
  &lt;Formik/&gt;
  </code></pre>