Skip to content

Commit 78a2e2f

Browse files
committed
Fix: template.display_name pattern
1 parent 0b38bea commit 78a2e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/util/formUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const Language = {
2323
return `${name} cannot be longer than ${len} characters`
2424
},
2525
templateDisplayNameInvalidChars: (name: string): string => {
26-
return `${name} must start with a-Z or 0-9 and can contain a-Z, 0-9 or -`
26+
return `${name} must start and end with non-whitespace character`
2727
},
2828
}
2929

0 commit comments

Comments
 (0)