Skip to content

Commit

Permalink
Merge pull request #572 from helpwave/issue/571-title-length-differs
Browse files Browse the repository at this point in the history
fix: change the length limit of task template title to 32
  • Loading branch information
Paul-B98 authored Aug 1, 2023
2 parents 0f5a9ac + c026ffd commit 4a619d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/components/layout/TaskTemplateDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const TaskTemplateDetails = ({
const inputClasses = tw('mt-1 block rounded-md w-full border-gray-300 shadow-sm focus:outline-none focus:border-hw-primary-500 focus:ring-hw-primary-500')

const minNameLength = 2
const maxNameLength = 64
const maxNameLength = 32

function validateName(name: string) {
const taskTemplateName = name.trim()
Expand Down

0 comments on commit 4a619d3

Please sign in to comment.