Override Formik Field Names
Opened this issue · 1 comments
dabyland commented
Issue
After going through the code, it doesn't appear that the ability to override the name of a Formik field is provided (see here). It appears to be hardcoded to specific values regardless of the name
prop that usually controls that mapped value.
Proposal
Allow users to override the name of any Formik Field
Example:
<Field id="myCustomCardNumber" name="myCustomCardNumber"> {({ field }) => <input {...getCardNumberProps({ onBlur: field.onBlur, onChange: field.onChange})} />}</Field>
dabyland commented
So it's been 2 years, is it safe to assume this repo is no longer active and being maintained?