Skip to content
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