fix(Wallet): Don't allow HTML tag special characters in Saved Addresses
This commit is contained in:
parent
74e2305ec8
commit
51e31f3d42
|
@ -65,8 +65,13 @@ StatusModal {
|
||||||
StatusMinLengthValidator {
|
StatusMinLengthValidator {
|
||||||
minLength: 1
|
minLength: 1
|
||||||
errorMessage: qsTr("Name must not be blank")
|
errorMessage: qsTr("Name must not be blank")
|
||||||
|
},
|
||||||
|
StatusRegularExpressionValidator {
|
||||||
|
regularExpression: /^[^<>]+$/
|
||||||
|
errorMessage: qsTr("This is not a valid account name")
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
charLimit: 40
|
||||||
validationMode: _internal.validationMode
|
validationMode: _internal.validationMode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue