fix(Wallet): Don't allow HTML tag special characters in Saved Addresses

This commit is contained in:
Stefan D 2022-03-24 17:31:38 +02:00 committed by Stefan Dunca
parent 74e2305ec8
commit 51e31f3d42
1 changed files with 5 additions and 0 deletions

View File

@ -65,8 +65,13 @@ StatusModal {
StatusMinLengthValidator {
minLength: 1
errorMessage: qsTr("Name must not be blank")
},
StatusRegularExpressionValidator {
regularExpression: /^[^<>]+$/
errorMessage: qsTr("This is not a valid account name")
}
]
charLimit: 40
validationMode: _internal.validationMode
}