#Umbrella-react
1 messages · Page 1 of 1 (latest)
Hello! GIve me a few minutes and I can take a look - juggling a few different folks right now
There isn't a built-in way to do that - that's something you'd have to implement yourself. I don't know the specifics of how to do this with React, but with plain JS, you'd listen for the change event on the Element and display any errors you get back (see https://github.com/stripe/stripe-payments-demo/blob/a76d0efb06177c2128975ea65d9fed86c09f4375/public/javascripts/payments.js#L77 and https://stripe.com/docs/js/element/input_validation)