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

Remove leading zeros for inputs with validate.getAmountError #1142

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

jeesunikim
Copy link
Contributor

  • Add removeLeadingZeroes helper function
  • Use the function to sanitize the value that uses either PositiveIntPicker component or inputs that use validate.getAmountError as a validation

@jeesunikim jeesunikim linked an issue Nov 7, 2024 that may be closed by this pull request
@stellar-jenkins
Copy link

@jeesunikim jeesunikim merged commit fbd718d into master Nov 7, 2024
3 checks passed
@jeesunikim jeesunikim deleted the issue-1087 branch November 7, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Validate and remove leading zeros in validate.amount
3 participants