stackworx / formik-mui

Bindings for using Formik with Material-UI

Home Page:https://stackworx.github.io/formik-mui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console Warning: The Autocomplete component was moved from the lab to the core in MUI v5

michaelpward opened this issue · comments

In Material-UI v5, the <Autocomplete /> component is no longer imported from the /lab as it has been moved to the core.

As a result, formik-material-ui is causing a warning in the console when used with Material-UI v5:

Material-UI: The Autocomplete component was moved from the lab to the core.

You should use import { Autocomplete } from '@material-ui/core'
or import Autocomplete from '@material-ui/core/Autocomplete'

image

will bre resolve in #291