Page MenuHomePhabricator

[Cashtab] Better conditions for disabling amount in SendXec
ClosedPublic

Authored by bytesofman on Jan 17 2024, 11:57.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC1121eb40f1bf: [Cashtab] Better conditions for disabling amount in SendXec
Summary

txInfoFromUrl is either false or an object. So, we only wan to disable amount if it is both NOT false and has a value key not === 'null'

Test Plan

npm start
Navigate to SendXec screen
amount input is not disabled

Navigate to http://localhost:3000/#/send?address=ecash:qzgyg3llme32kpru03ff7dq7lz8087ma6glfxngvp2&value=1012.71
amount input is disabled

Diff Detail

Repository
rABC Bitcoin ABC
Branch
patch-disable-issue
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26430
Build 52430: Build Diffcashtab-tests
Build 52429: arc lint + arc unit