Related to task T2315. In Send.js, added checks for priceApiError to grey out send button if priceApiError is true, and another which hides LocaleFormattedValue if priceApiError is true.
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project
cd web/cashtab && npm start
in useWallet.js, introduce a typo into the string to force an error msg
navigate the send tab
in the amount field, select the fiat currency from the dropdown menu
observe that the LocaleFormatted value does not appear
observe that the send button is greyed out
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- handle-api-error-send-screen
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 18552 Build 36899: Build Diff cashtab-tests Build 36898: arc lint + arc unit
Event Timeline
Comment Actions
Nice. Let's also disable the input field if we are in this condition (and fiat currency is selected) -- to avoid this case where a validation error is thrown even though it makes no sense: