We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i have my own ui library and my form elements uses useField
import React from 'react'; import { TextField } from '../input/Input'; interface Props { readonly name: string } export function FormInput({name, ...props}:Props) { // const [field] = useField(name) console.log("field:", props); return ( <TextField {...props} /> ); }
but when i install my lib and use my fileds inside of formik i am getting this error Cannot read properties of undefined (reading 'getFieldProps')
what i am doing wrong?
The text was updated successfully, but these errors were encountered:
Same error here with Formik 2.4.5 and Storybook 8.0.8. Did you got the problem solved, @muhammaddiyor0104 ?
Sorry, something went wrong.
@muhammaddiyor0104 @rapitkan Please share codesandbox link with the issue
No branches or pull requests
i have my own ui library and my form elements uses useField
but when i install my lib and use my fileds inside of formik i am getting this error Cannot read properties of undefined (reading 'getFieldProps')
what i am doing wrong?
The text was updated successfully, but these errors were encountered: