react-stripe-js
react-stripe-js copied to clipboard
[BUG]: Autofill with select password managers breaks PaymentElement component
What happened?
I've noticed that some users are experiencing difficulty when autofilling their card details in the PaymentElement
component. Once autofilled, the whole component goes blank and throws the following error:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.[missing argument]
Find below a screen share of me replicating this with LastPass on Chrome
https://github.com/stripe/react-stripe-js/assets/42565992/26ac0e25-e001-4b20-bb85-f2b59488b2e5
Environment
No response
Reproduction
No response