Skip to content

Commit 001f4de

Browse files
committed
qml: Add maximum length for address input
1 parent e65e7bf commit 001f4de

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/qml/controls/LabeledTextInput.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Item {
1414
property alias customIcon: iconContainer.data
1515
property alias enabled: input.enabled
1616
property alias validator: input.validator
17+
property alias maximumLength: input.maximumLength
1718

1819
signal iconClicked
1920
signal textEdited

src/qml/pages/wallet/Send.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ PageStack {
182182
validator: RegExpValidator {
183183
regExp: /^[1-9A-HJ-NP-Za-km-zac-hj-np-z02-9]+$/
184184
}
185+
maximumLength: 62
185186
}
186187

187188
RowLayout {

0 commit comments

Comments
 (0)