From 3e0cb8e91c323e84b9731df9c7517bf8b04d3afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Sat, 22 Sep 2018 14:47:31 +0200 Subject: [PATCH] Fix form error messages not being displayed --- .../Private/Templates/Form/FullForm.html | 18 +++++++++--------- .../Private/Templates/Form/SimpleForm.html | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Form/FullForm.html b/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Form/FullForm.html index 6a8711a3..f96e3cab 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Form/FullForm.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Form/FullForm.html @@ -15,52 +15,52 @@
{{formErrors.name}}
+ v-show="formErrors.name" v-html="formErrors.name">
{{formErrors.company}}
+ v-show="formErrors.company" v-html="formErrors.company">
{{formErrors.email}}
+ v-show="formErrors.email" v-html="formErrors.email">
{{formErrors.phone}}
+ v-show="formErrors.phone" v-html="formErrors.phone">
{{formErrors.period}}
+ v-show="formErrors.period" v-html="formErrors.period">
{{formErrors.duration}}
+ v-show="formErrors.duration" v-html="formErrors.duration">
{{formErrors.pax}}
+ v-show="formErrors.pax" v-html="formErrors.pax">
{{formErrors.age}}
+ v-show="formErrors.age" v-html="formErrors.age">
diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Form/SimpleForm.html b/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Form/SimpleForm.html index d65ba212..c56de3ba 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Form/SimpleForm.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Form/SimpleForm.html @@ -15,19 +15,19 @@
{{formErrors.name}}
+ v-show="formErrors.name" v-html="formErrors.name">
{{formErrors.email}}
+ v-show="formErrors.email" v-html="formErrors.email">
{{formErrors.phone}}
+ v-show="formErrors.phone" v-html="formErrors.phone">
@@ -35,7 +35,7 @@ property="inquiry" cols="30" rows="5"/>
{{formErrors.inquiry}}
+ v-show="formErrors.inquiry" v-html="formErrors.inquiry">