@@ -14,7 +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)' , track-by ='index' ) {{ error }}
17
+ span( v-for ='(error, index) in fieldErrors(field)' , v-html = 'error' , track-by ='index' )
18
18
19
19
template( v-for ='group in groups' )
20
20
fieldset( :is ='tag' , :class ='getFieldRowClasses(group)' )
@@ -32,7 +32,7 @@ div.vue-form-generator(v-if='schema != null')
32
32
button( v-for ='btn in field.buttons' , @click ='buttonClickHandler(btn, field, $event)' , :class ='btn.classes' ) {{ btn.label }}
33
33
.hint ( v-if ='field.hint' ) {{ field.hint }}
34
34
.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' )
36
36
</template >
37
37
38
38
<script >
@@ -280,7 +280,7 @@ div.vue-form-generator(v-if='schema != null')
280
280
281
281
return field .featured ;
282
282
},
283
-
283
+
284
284
// Get current hint.
285
285
fieldHint (field ){
286
286
if (isFunction (field .hint ))
@@ -379,7 +379,7 @@ div.vue-form-generator(v-if='schema != null')
379
379
getFieldID (schema ) {
380
380
const idPrefix = this .options && this .options .fieldIdPrefix ? this .options .fieldIdPrefix : " " ;
381
381
return slugifyFormID (schema, idPrefix);
382
- }
382
+ }
383
383
}
384
384
};
385
385
0 commit comments