medipass/react-payment-inputs

QUESTION: Form Complete?

Opened this issue · 1 comments

Is there any standard way to have one onComplete method for the entire form? Looking to replicate the same functionality found in the Stripe Elements API whereby I can listen onChange for the form and then check the form to see if its completed.

A workaround I use is onError, when it's undefined, means that the form is complete.