mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-04 08:35:32 +00:00
Update validations for a Post's content
- we were asked to remove a minimum of three characters since it's not more substantive than a link.
This commit is contained in:
parent
0815a12fc9
commit
5450eba1b9
@ -151,13 +151,7 @@ export default {
|
||||
form,
|
||||
formSchema: {
|
||||
title: { required: true, min: 3, max: 100 },
|
||||
content: {
|
||||
required: true,
|
||||
min: 3,
|
||||
transform: content => {
|
||||
return this.$filters.removeHtml(content)
|
||||
},
|
||||
},
|
||||
content: { required: true },
|
||||
categoryIds: {
|
||||
type: 'array',
|
||||
required: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user