Formik TypeError: Cannot read properties of undefined (reading 'getFieldProps')
when migrating from v6 to v8
#28092
Unanswered
lainercoder
asked this question in
Help
Replies: 1 comment
-
Hey, did you ever figure this out? getting the same error :/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi! We're in the process of migrating from Storybook v6.5 to Storybook v8.1. We're loving all the updates & enhancements in the new version!
We have some components that use Formik v2. They were displaying properly in our old version of storybook. However, in the v8 storybook, they display correctly locally, but crashed on published versions with the following error:
TypeError: Cannot read properties of undefined (reading 'getFieldProps')
This is how each of the stories looks:
Appreciate any insight or guidance you have!
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions