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:
mattwr18 2019-11-18 18:23:41 +01:00
parent 0815a12fc9
commit 5450eba1b9

View File

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