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

Form validation and user input #16

Merged
merged 9 commits into from
Sep 2, 2021
Merged

Conversation

cazdemun
Copy link

@cazdemun cazdemun commented Sep 1, 2021

  • Form validation has been reworked for address selection and amount input
  • Input no longer deletes zeros when editing the amount
  • Decimals are 2 for all USD values

cazdemun added 9 commits September 1, 2021 10:19
	computation is safer and using big js
	* no letters allowed
	* no amount over 99_999_999
	* limit of 8 decimals
	note: it does not prevent actual input, it just disables Send button
	Send button disables when amount is filled last and has incorrect values
	initial balance was taken from native segwit address before user selected an address type
@josedahlquist josedahlquist merged commit 9c34585 into develop Sep 2, 2021
@josedahlquist josedahlquist deleted the feature/form-fixes branch September 2, 2021 15:56
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.

2 participants