-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add validation to send amount input box. #6040
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
3e93ea5
to
69b0526
Compare
Hey @segun it seems you have an unresolved conflict, can you check this out? TY |
59a4752
to
7a08487
Compare
Hey @segun : did you had chance to discuss the required behaviour with product team, I just want to be sure that change is aligned with design guidelines for mobile app and consistent with other pages. |
39ee698
to
cb52ee3
Compare
Yes I did. The change is aligned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Check to see if yarn lint:fix
can fix the failing lint
cc5aa58
to
6adcb55
Compare
6adcb55
to
45354a0
Compare
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
45354a0
to
aae751a
Compare
14ddb69
to
aae751a
Compare
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
hi @segun !! Changes look good, thank you for the update!! The PR can be merged once we have x2 dev approvals 💯 |
Description
We are lacking input validation for the Send amount field, resulting into unexpected behaviour when we enter non-conventional chars.
If we enter 0x0 value, MetaMask crashes completly
If we enter negative values -0.001 you can proceed to the next page. When you land on the Confirmation page, then you get a warning
Screenshots/Recordings
Before
send-input-validation.mp4
After
Screen.Recording.2023-03-24.at.13.23.05.mov
Issue
Fixes #5589
Checklist