@@ -14,7 +14,7 @@ div.vue-form-generator(v-if='schema != null')
1414 button( v-for ='btn in field.buttons' , @click ='buttonClickHandler(btn, field, $event)' , :class ='btn.classes' ) {{ btn.label }}
1515 .hint ( v-if ='field.hint' ) {{ fieldHint(field) }}
1616 .errors.help-block ( v-if ='fieldErrors(field).length > 0' )
17- span( v-for ='(error, index) in fieldErrors(field)' , track-by ='index' ) {{ error }}
17+ span( v-for ='(error, index) in fieldErrors(field)' , v-html = 'error' , track-by ='index' )
1818
1919 template( v-for ='group in groups' )
2020 fieldset( :is ='tag' , :class ='getFieldRowClasses(group)' )
@@ -32,7 +32,7 @@ div.vue-form-generator(v-if='schema != null')
3232 button( v-for ='btn in field.buttons' , @click ='buttonClickHandler(btn, field, $event)' , :class ='btn.classes' ) {{ btn.label }}
3333 .hint ( v-if ='field.hint' ) {{ field.hint }}
3434 .errors.help-block ( v-if ='fieldErrors(field).length > 0' )
35- span( v-for ='(error, index) in fieldErrors(field)' , track-by ='index' ) {{ error }}
35+ span( v-for ='(error, index) in fieldErrors(field)' , v-html = 'error' , track-by ='index' )
3636</template >
3737
3838<script >
@@ -280,7 +280,7 @@ div.vue-form-generator(v-if='schema != null')
280280
281281 return field .featured ;
282282 },
283-
283+
284284 // Get current hint.
285285 fieldHint (field ){
286286 if (isFunction (field .hint ))
@@ -379,7 +379,7 @@ div.vue-form-generator(v-if='schema != null')
379379 getFieldID (schema ) {
380380 const idPrefix = this .options && this .options .fieldIdPrefix ? this .options .fieldIdPrefix : " " ;
381381 return slugifyFormID (schema, idPrefix);
382- }
382+ }
383383 }
384384 };
385385
0 commit comments