HomePhabricator

[Cashtab] Improve form entry UX for agora listings

Description

[Cashtab] Improve form entry UX for agora listings

Summary:
It is annoying and confusing to have '0' in this field by default, since when you start typing, you begin with more than you expect. e.g. you type "1" but you get "10" because of the existing zero. Or if you clicked after the zero, you get "01" (weird).

Make all form entries strings. Initialize as empty.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D17649

Details

Provenance
bytesofmanAuthored on Fri, Feb 7, 18:30
bytesofmanPushed on Fri, Feb 7, 23:20
Reviewer
Restricted Project
Differential Revision
D17649: [Cashtab] Improve form entry UX for agora listings
Parents
rABC3d80d5ddb170: [Cashtab] Support one-click redemptions for XECX
Branches
Unknown
Tags
Unknown