Suggestion for checking for 0 value in power up before sending it to server

in #utopian-io6 years ago (edited)

Java script can be used to validate user input before sending values to the server.
The transfer dialog currently checks if you enter in more than 3 decimal places, but does not check for zero values.
This could be done to avoid sending the invalid input to the server and waiting for a response, it would reduce the load on the server and speed up the experience for other users.

Here is an example of how I enter in a zero value

transfer2.gif

Error log is here



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved yet because it is not as informative as other contributions. See the Utopian Rules.

  • Please edit your contribution and add try to improve the length and detail of your contribution, to reapply for approval.
  • Please, explain what is the problem of that and what are the benefits of your suggestion.
  • Also, the Error Log can be in an external file, so the post is more clear

You may edit your post here, as shown below:

You can contact us on Discord.
[utopian-moderator]

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Coin Marketplace

STEEM 0.28
TRX 0.12
JST 0.032
BTC 67333.93
ETH 3115.87
USDT 1.00
SBD 3.73