medipass / react-payment-inputs

A React Hook & Container to help with payment card input fields.
https://medipass.github.io/react-payment-inputs
381 stars 63 forks source link

Enhancement: Options to set Initial Values, Show Errors onBlur, and added functions to touch/reset form. #42

Closed Hopp3r closed 3 months ago

Hopp3r commented 4 years ago

This PR is a first-pass at exposing flexibility in the payment input wrapper. I wrote this primarily to work with Formik better (reset the form, touch fields on submit etc.), however the functionality works with a default form as well.

Included is the functionality to:

Fixed:

Updated:

Known Issues: