我在Auto complete
使用开发时遇到错误final-form
必须指定一个渲染道具,一个渲染函数作为子级,或者一个组件道具到 Field(auto)
我从这个链接 https://trejgun.github.io/articles/bindings-for-using-final-form-with-material-ui-autocomplete/获得帮助
但是当我实现上面的代码时,我遇到了错误
这是我的代码 https://codesandbox.io/s/relaxed-breeze-hv58o
<Field
name="auto"
multiple={true}
component={AutoCompleteWrapper}
placeholder="First Name"
options={[{ label: "The Shawshank Redemption", values: 1994 }]}
/>