We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello I'm working with your CardElement and noticing that the type signature is not matching what we have returning from change events.
CardElement
what the type is:
export type CardElementChangeEvent = { valid: boolean; firstSix: string; lastFour: string; brand: string; empty: boolean; focus: boolean; number: { number: CardElementState; expiry: CardElementState; valid: CardElementState; }; };
what we're seeing as the actual event:
{ "valid": false, "firstSix": "", "lastFour": "", "brand": "unknown", "empty": false, "focus": false, "number": { "empty": false, "focus": false, "valid": false }, "expiry": { "empty": true, "focus": false, "valid": false }, "cvv": { "empty": true, "focus": false, "valid": false } }
The text was updated successfully, but these errors were encountered:
Merge pull request #237 from joshunger/main
563c205
Update CardElementChangeEvent type; fixes #121
Successfully merging a pull request may close this issue.
Hello I'm working with your
CardElement
and noticing that the type signature is not matching what we have returning from change events.what the type is:
what we're seeing as the actual event:
The text was updated successfully, but these errors were encountered: