fix(@desktop/wallet): Do not allow decimal number for gas limit

fixes #3048
This commit is contained in:
Anthony Laibe 2021-07-27 10:59:28 +02:00 committed by Iuri Matias
parent 1551c94135
commit 9e53c23596
1 changed files with 3 additions and 0 deletions

View File

@ -179,6 +179,9 @@ Item {
anchors.right: inputGasPrice.left
anchors.rightMargin: Style.current.padding
placeholderText: "21000"
validator: IntValidator{
bottom: 1
}
validationErrorAlignment: TextEdit.AlignRight
validationErrorTopMargin: 8
onTextChanged: {