mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:39:39 +00:00
Add validation to the Send form (address and amount) #490
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!490
Loading…
Reference in a new issue
No description provided.
Delete branch "send-validation-qt6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
These changes add properties for the error strings used in the QML to SendRecipient and add validation methods that are checked when the relevant properties are changed by the user.
This is a port of #462 into the qt6 branch
@MarnixCroes do you mind re-reviewing this change?
55fdce2c269a7751b640e99d874ea154effb5319
The

Amount must be greater than zerowhile there is only the placeholder text is a bit silly.Which can be repro'd by entering 0 and then deleting it.
The amount sometimes changes and gets negative when entering large numbers:

Screencast from 2025-08-06 11-11-16.webm
Screencast from 2025-08-06 11-13-03.webm
maybe better?
from 5ec53c0 to fb149bf
ACK
github.com/bitcoin-core/gui-qml@fb149bfc37