jannikbuschke / formik-antd

Simple declarative bindings for Ant Design and Formik.

Home Page:https://codesandbox.io/s/github/jannikbuschke/formik-antd-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoComplete OnChange No overload match this call

teeyuseng opened this issue · comments

after import AutoComplete component ,will suffer 'No overload match this call'

also can't set AutoComplete .Option

Hi @teeyuseng,

Can you provide a reproduction with the following codesandbox? https://codesandbox.io/s/damp-darkness-y1q01?file=/src/overview.tsx

Thanks for feedback.
->
I figure out AutoComplete .Option is defined in class AutoComplete not in AutoCompleteProps
after use const {Option} = AutoComplete , will suffered 'Option' does not exist.
I use 'datasource' to set options to solve my problem

->
about onChange method , those error does not affect the usage

problem1
problem2