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

fix: card input error text correction #759

Merged
merged 6 commits into from
Nov 4, 2024
Merged

Conversation

aritro2002
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

The error message for an incorrect card number is not displaying accurately. Additionally, the error message does not disappear when the input field is focused.

Before:

Screen.Recording.2024-10-30.at.4.15.24.PM.mov

After:

Screen.Recording.2024-10-30.at.4.16.06.PM.mov

How did you test it?

Tested via rendering the SDK in firefox ,safari and chrome

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

Copy link

Review changes with  SemanticDiff

@aritro2002 aritro2002 linked an issue Oct 30, 2024 that may be closed by this pull request
@PritishBudhiraja PritishBudhiraja added the Ready for Review PR with label Ready for Review should only be reviewed. label Oct 31, 2024
src/Payment.res Outdated Show resolved Hide resolved
@aritro2002
Copy link
Contributor Author

aritro2002 commented Nov 4, 2024

I have added locale support for 'Please enter a valid card number' validation message using google translate.

@PritishBudhiraja PritishBudhiraja merged commit f426662 into main Nov 4, 2024
4 checks passed
@PritishBudhiraja PritishBudhiraja deleted the fix/card-number-input branch November 4, 2024 14:20
@github-actions github-actions bot added Closed Label will be automatically added when the PR will get merged to main and removed Ready for Review PR with label Ready for Review should only be reviewed. labels Nov 4, 2024
PritishBudhiraja pushed a commit that referenced this pull request Nov 4, 2024
## [0.99.1](v0.99.0...v0.99.1) (2024-11-04)

### Bug Fixes

* card input error text correction ([#759](#759)) ([f426662](f426662))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Label will be automatically added when the PR will get merged to main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Card number input error correction
2 participants