Merge pull request #1850 from Human-Connection/1812-Extend_Title_to_100_characters

Title character increased from 64 to 100
This commit is contained in:
Alexander Friedland 2019-10-09 11:38:42 +02:00 committed by GitHub
commit dad60bd7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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,