@@ -14,8 +14,7 @@ div.vue-form-generator(v-if='schema != null')
14
14
button( v-for ='btn in field.buttons' , @click ='buttonClickHandler(btn, field, $event)' , :class ='btn.classes' ) {{ btn.label }}
15
15
.hint ( v-if ='field.hint' ) {{ fieldHint(field) }}
16
16
.errors.help-block ( v-if ='fieldErrors(field).length > 0' )
17
- span( v-for ='(error, index) in fieldErrors(field)' , v-if ='field.errorUnescaped' , v-html ="error" , track-by ='index' )
18
- span( v-for ='(error, index) in fieldErrors(field)' , v-if ='!field.errorUnescaped' , track-by ='index' ) {{ error }}
17
+ span( v-for ='(error, index) in fieldErrors(field)' , v-html ="error" , track-by ='index' )
19
18
20
19
template( v-for ='group in groups' )
21
20
fieldset( :is ='tag' , :class ='getFieldRowClasses(group)' )
@@ -33,8 +32,7 @@ div.vue-form-generator(v-if='schema != null')
33
32
button( v-for ='btn in field.buttons' , @click ='buttonClickHandler(btn, field, $event)' , :class ='btn.classes' ) {{ btn.label }}
34
33
.hint ( v-if ='field.hint' ) {{ field.hint }}
35
34
.errors.help-block ( v-if ='fieldErrors(field).length > 0' )
36
- span( v-for ='(error, index) in fieldErrors(field)' , v-if ='field.errorUnescaped' , v-html ="error" , track-by ='index' )
37
- span( v-for ='(error, index) in fieldErrors(field)' , v-if ='!field.errorUnescaped' , track-by ='index' ) {{ error }}
35
+ span( v-for ='(error, index) in fieldErrors(field)' , v-html ="error" , track-by ='index' )
38
36
</template >
39
37
40
38
<script >
0 commit comments