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

Value not being updated in model after error in TransferForm.vue #125

Open
jondubois opened this issue Oct 6, 2022 · 2 comments
Open

Value not being updated in model after error in TransferForm.vue #125

jondubois opened this issue Oct 6, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@jondubois
Copy link
Contributor

If I have an account with 1000 CLSK and I make a transfer for 1000 CLSK, an error will appear. Then if I click on the Maximum amount, it will populate the input box with the maximum amount but it will not update the model value... So if I submit the form, the amount will be 1000 instead of the expected 999.9.

@jondubois jondubois added the bug Something isn't working label Oct 6, 2022
@jondubois
Copy link
Contributor Author

I managed to fix it partially so that it now updates the model but only when I click on the amount input box - Clicking on the input box makes the error message disappear. The user should not have to click on the input box after clicking on the Maximum amount link in order to update the model.

@jondubois
Copy link
Contributor Author

jondubois commented Oct 6, 2022

Another issue is that if I try to submit the form when the error message is visible, the SEND button gets stuck with a permanent loading indicator; I need to close the modal and re-open to resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant