mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Title character increased from 64 to 100
This commit is contained in:
parent
49dfc8ac9d
commit
588ca43464
@ -32,7 +32,7 @@ describe('ContributionForm.vue', () => {
|
|||||||
const postTitle = 'this is a title for a post'
|
const postTitle = 'this is a title for a post'
|
||||||
const postTitleTooShort = 'xx'
|
const postTitleTooShort = 'xx'
|
||||||
let postTitleTooLong = ''
|
let postTitleTooLong = ''
|
||||||
for (let i = 0; i < 65; i++) {
|
for (let i = 0; i < 101; i++) {
|
||||||
postTitleTooLong += 'x'
|
postTitleTooLong += 'x'
|
||||||
}
|
}
|
||||||
const postContent = 'this is a post'
|
const postContent = 'this is a post'
|
||||||
|
|||||||
@ -104,7 +104,7 @@ export default {
|
|||||||
categoryIds: [],
|
categoryIds: [],
|
||||||
},
|
},
|
||||||
formSchema: {
|
formSchema: {
|
||||||
title: { required: true, min: 3, max: 64 },
|
title: { required: true, min: 3, max: 100 },
|
||||||
content: [{ required: true }],
|
content: [{ required: true }],
|
||||||
},
|
},
|
||||||
id: null,
|
id: null,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user