Closed pzapo closed 4 years ago
The same problem for me.
Same issue for me too
Thank you for reporting @pzapo @dalborgo and @gian788. It is indeed an issue. Will fix asap.
@gerhat Did u get this fixed!
@gerhat I created a pull request for this one
Issue fixed in v0.6.2.
Here is an example on how to pass initial values to autocomplete.
const initialValues = {
skills: [
{
label: 'ASP.NET',
value: 'ASP.NET',
},
],
}
Passing initialValues to formik Field component with AutoComplete is broken. InitialValues are not rendered on AutoComplete component but when save is clicked then they are available in
values
formik variable.Here is link to sample code based on your example from documentation: https://codesandbox.io/s/goofy-wildflower-i3h1r