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
With formik it's possible to created nested elements:
const initialData = { displayName: '', name: { givenName: '', familyName: '', } }
It is now possible to define a field like this:
<Field name="name.givenName" ... />
Using reactstrap-formik controls this doesn't work.
The text was updated successfully, but these errors were encountered:
This can easily be done by replacing errors[fields.name] with getIn(errors, fields.name)
errors[fields.name]
getIn(errors, fields.name)
The getIn function can be imported from formik: import {getIn} from 'formik';.
import {getIn} from 'formik';
I extracted the project into a single file and fixed it here: https://gist.github.com/bradmajewski-at-parchment/7b53fcd484fb554942e43cc5ef8a1fb5
Sorry, something went wrong.
Add getIn() formik method
e60473a
Add getIn() formik method to use nested formik elements #14
Successfully merging a pull request may close this issue.
With formik it's possible to created nested elements:
It is now possible to define a field like this:
Using reactstrap-formik controls this doesn't work.
The text was updated successfully, but these errors were encountered: