Skip to content

Commit cf19d20

Browse files
Merge pull request #42650 from quinn-mchugh/patch-2
added default regex and message
2 parents a3baf55 + 5e6f270 commit cf19d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/managed-applications/microsoft-common-passwordbox.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ A control that can be used to provide and confirm a password.
3434
"toolTip": "",
3535
"constraints": {
3636
"required": true,
37-
"regex": "",
38-
"validationMessage": ""
37+
"regex": "^[a-zA-Z0-9]{8,}$",
38+
"validationMessage": "Password must be at least 8 characters long, contain only numbers and letters"
3939
},
4040
"options": {
4141
"hideConfirmation": false

0 commit comments

Comments
 (0)