From 588ca434646c6374c8889ba05e71755fd09044a1 Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 9 Oct 2019 09:09:44 +0200 Subject: [PATCH] Title character increased from 64 to 100 --- webapp/components/ContributionForm/ContributionForm.spec.js | 2 +- webapp/components/ContributionForm/ContributionForm.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,