Case 21703 - Disable SUBMIT before balance is retrieved

to prevent sending a send-money request with too large
of a balance
This commit is contained in:
Roxanne Skelly 2019-03-13 13:42:55 -07:00
parent 28b8f1a62c
commit 822e5ceb98

View file

@ -71,6 +71,7 @@ Item {
onBalanceResult : {
balanceText.text = result.data.balance;
sendButton.enabled = true;
}
onTransferAssetToNodeResult: {
@ -1371,6 +1372,7 @@ Item {
height: 40;
width: 100;
text: "SUBMIT";
enabled: false;
onClicked: {
if (root.assetCertID === "" && parseInt(amountTextField.text) > parseInt(balanceText.text)) {
amountTextField.focus = true;