Form validation already matches token decimals. However, default step for number inputs if not specified is 1. This means a user will see a form error if they try to send a decimal fraction of a token, even though the send will be successful. This diff patches the bug by adjusting step to match token decimal places.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCc02c84dd0a3b: [Cashtab] Match number step input to token decimals
npm start, go to send a token, observe that scrolling over the 'Amount' field increments the value by decimal places of SLPA token to be sent
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable