Skip to content

Show template.display_name in the site UI #5069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Nov 14, 2022
Prev Previous commit
Next Next commit
Fix: template.display_name pattern
  • Loading branch information
mtojek committed Nov 14, 2022
commit 78a2e2fb698290e8cccf280fd154b63e3c8dec0d
2 changes: 1 addition & 1 deletion site/src/util/formUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Language = {
return `${name} cannot be longer than ${len} characters`
},
templateDisplayNameInvalidChars: (name: string): string => {
return `${name} must start with a-Z or 0-9 and can contain a-Z, 0-9 or -`
return `${name} must start and end with non-whitespace character`
},
}

Expand Down