@stripe Elements needs a way to focus the "inputs" from the DOM in a standard-ish way that can be made to work with most of the dom based form validation libraries.
Thanks for the feedback—you may find this way helpful: https://stripe.com/docs/js/element/other_methods/focus …
-
-
That requires the element object from the Stripe API. react-stripe-elements hides that from you. Also that does not help when using libraries that target dom forms because you can't get the element object from the DOM.
-
You can use the `change` event to check for errors in the element: https://stripe.com/docs/js/element/input_validation …
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.