diff --git a/webapp/components/ContributionForm/ContributionForm.spec.js b/webapp/components/ContributionForm/ContributionForm.spec.js index eaba26360..836fe3fd3 100644 --- a/webapp/components/ContributionForm/ContributionForm.spec.js +++ b/webapp/components/ContributionForm/ContributionForm.spec.js @@ -32,7 +32,7 @@ describe('ContributionForm.vue', () => { const postTitle = 'this is a title for a post' const postTitleTooShort = 'xx' let postTitleTooLong = '' - for (let i = 0; i < 65; i++) { + for (let i = 0; i < 101; i++) { postTitleTooLong += 'x' } const postContent = 'this is a post' diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index c783298f4..73fa0afd9 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -104,7 +104,7 @@ export default { categoryIds: [], }, formSchema: { - title: { required: true, min: 3, max: 64 }, + title: { required: true, min: 3, max: 100 }, content: [{ required: true }], }, id: null,