SparkNFT / SparkLink

The SparkNFT fontend repository.
3 stars 7 forks source link

Autocorrecting the value in "percent of earning" field in the publish form is not a good idea #74

Open SantanaSP opened 2 years ago

SantanaSP commented 2 years ago

What's going wrong?

Currently when user inputs a number greater than 100 in the "percent of earning" field in the publish form the wrong number would be corrected automatically. But this behaviour is too odd to user. We should transfer the right to decide to user and just give him a prompt.

chrome-capture-2022-3-27 (2)

How to reproduce?

No need for this issue.

Expected behaviour

When user enters a wrong number which exceeds 100 or is less than 0, the application gives him a number exceeding limit promt and no autocorrecting behaviour would happen.

Which version?

Branch refactor.