Skip to content

Commit 5e6f270

Browse files
authored
added default regex and message
Publishers have been copy+pasting this control and it's been making it to the review step in this empty state. We want them to at least have password validations by the time they reach publisher review
1 parent eedd92b commit 5e6f270

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)