diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 7143e3b6f..c783298f4 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -21,7 +21,7 @@ :hashtags="hashtags" @input="updateEditorContent" /> - {{ form.contentLength }}/{{ contentMax }} + {{ form.contentLength }} = this.contentMin && this.form.contentLength <= this.contentMax + const passesContentValidations = this.form.contentLength >= this.contentMin const passesCategoryValidations = this.form.categoryIds.length > 0 && this.form.categoryIds.length <= 3 this.failsValidations = !(passesContentValidations && passesCategoryValidations)