Skip to content

Commit 74baebf

Browse files
Edit name validation to alphaNumeric
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1e71785 commit 74baebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/playground/src/weblets/tf_staticwebsite.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
:value="name"
1919
:rules="[
2020
validators.required('Name is required.'),
21-
validators.IsAlphanumericExpectUnderscore('Name should consist of letters ,numbers and underscores only.'),
21+
validators.isAlphanumeric('Name should consist of letters and numbers only.'),
2222
(name: string) => validators.isAlpha('Name must start with an alphabetical character.')(name[0]),
2323
validators.minLength('Name must be at least 2 characters.', 2),
2424
validators.maxLength('Name cannot exceed 15 characters.', 15),

0 commit comments

Comments
 (0)