From 5450eba1b9007f6113b1787880b66b2c1d79a8c3 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Mon, 18 Nov 2019 18:23:41 +0100 Subject: [PATCH] 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. --- webapp/components/ContributionForm/ContributionForm.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 51adba663..734e3be81 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -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,