jaredpalmer / formik

Build forms in React, without the tears 😭
https://formik.org
Apache License 2.0
33.98k stars 2.79k forks source link

FieldArray: remove method is throwing array.splice is not a function #1586

Open chaitanya1019 opened 5 years ago

chaitanya1019 commented 5 years ago

❓Question

Seriously, for immediate help, just ask your question on the #formik channel on Reactiflux. I have an array of tags, where the user can choose multiple tags from the dropdown. Tried implementing this with FieldArray of formik. But when the user is trying to delete one of the selected tags, remove method is throwing array.splice is not a function. But if the user submits the form, and tries to delete them it's working fine. Please use the below sandbox for reference. https://codesandbox.io/s/priceless-cherry-5yxkh

1950195 commented 5 years ago

crash page with same problem.