Appbar color changing to white on selecting input from <Field component={select}
sipian opened this issue · comments
I have included a select component as follow
<Field
component={TextField}
type="text"
select={true}
align="left"
fullWidth
size="small"
margin="dense"
variant="outlined"
name="doctor"
>
<MenuItem value={10}>X</MenuItem>
<MenuItem value={15}>Y</MenuItem>
<MenuItem value={20}>Z</MenuItem>
</Field>
But on selecting an input from the select dropdown, my Material-UI Appbar color is changing. I have attached the before and after screenshots below.
This is using Material-UI v5.0.0-rc.0
This issue resolved when I migrated formik-material-ui
code locally to Material-Ui@v5.0.0 using this.
Apparently using Material UI v4 and v5 together was the issue.