Skip to content

Improve the way Stripe Elements validation errors are displayed#40

Merged
aldesantis merged 1 commit into
solidusio:masterfrom
stuffmatic:elements-validation-errors
Mar 26, 2020
Merged

Improve the way Stripe Elements validation errors are displayed#40
aldesantis merged 1 commit into
solidusio:masterfrom
stuffmatic:elements-validation-errors

Conversation

@stuffmatic

Copy link
Copy Markdown
Contributor

Currently, Stripe Element validation errors are only shown for the card number field. This pull request aims to improve the error display logic to handle errors from all fields. Here's what it looks like:

stripe

The code is adapted from this source file in the official Stripe Elements examples repo (live official examples are here).

@kennyadsl kennyadsl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@aldesantis

aldesantis commented Mar 26, 2020

Copy link
Copy Markdown
Member

Thanks @stuffmatic, looks great. Also wanted to personally thank you on behalf of the core team for the amazing work you've been doing lately with your issues and PRs.

@aldesantis aldesantis merged commit 741f62b into solidusio:master Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants