Skip to content
New issue

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

Change CardInputWidget icon to represent validity of input #2224

Merged
merged 1 commit into from
Feb 26, 2020

Conversation

mshafrir-stripe
Copy link
Collaborator

@mshafrir-stripe mshafrir-stripe commented Feb 25, 2020

Summary

After validating CardInputWidget input (i.e. when a params object is
attempted to be created), if validation fails, show an error icon for
the brand icon.

Motivation

Previously, error state was only visually indicated by changing the text color of the fields. For some users, it is difficult or impossible to distinguish solely on color.

Fixes #2200

Testing

Unit test
Manual validation

ciw

Summary
After validating `CardInputWidget` input (i.e. when a params object is
attempted to be created), if validation fails, show an error icon for
the brand icon.

Motivation

Testing
Unit test
Manual validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display error icon in CardInputWidget
5 participants