From c95c41af9cfc27a769b22b34ec8a0b972e1f45ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20R=C3=B3=C5=BCbicki?= <108671146+jakubrozbicki@users.noreply.github.com> Date: Tue, 8 Nov 2022 14:02:36 +0100 Subject: [PATCH] Update Autocomplete docs Just spent couple hours figuring out why my app blows up with `Cannot read from undefined (reading onBlur)` when copied code from example. --- docs/docs/api/mui.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/api/mui.md b/docs/docs/api/mui.md index 425b6e2..d6bbded 100644 --- a/docs/docs/api/mui.md +++ b/docs/docs/api/mui.md @@ -11,6 +11,7 @@ The following props are always excluded: `name`, `value`, `error`, and additiona ```jsx import { Autocomplete } from 'formik-mui'; +import { TextField } from '@mui/material'; const options = [{ title: 'The Shawshank Redemption', year: 1994 }, ...]