@@ -14,8 +14,8 @@ 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)' , v-if ='! field.unscapeErrors' , v-html ="error" , track-by ='index' )
18- span( v-for ='(error, index) in fieldErrors(field)' , v-if ='field.unscapeErrors' , track-by ='index' ) {{ error }}
17+ span( v-for ='(error, index) in fieldErrors(field)' , v-if ='field.unscapeErrors' , v-html ="error" , track-by ='index' )
18+ span( v-for ='(error, index) in fieldErrors(field)' , v-if ='! field.unscapeErrors' , track-by ='index' ) {{ error }}
1919
2020 template( v-for ='group in groups' )
2121 fieldset( :is ='tag' , :class ='getFieldRowClasses(group)' )
@@ -33,8 +33,8 @@ div.vue-form-generator(v-if='schema != null')
3333 button( v-for ='btn in field.buttons' , @click ='buttonClickHandler(btn, field, $event)' , :class ='btn.classes' ) {{ btn.label }}
3434 .hint ( v-if ='field.hint' ) {{ field.hint }}
3535 .errors.help-block ( v-if ='fieldErrors(field).length > 0' )
36- span( v-for ='(error, index) in fieldErrors(field)' , v-if ='! field.unscapeErrors' , v-html ="error" , track-by ='index' )
37- span( v-for ='(error, index) in fieldErrors(field)' , v-if ='field.unscapeErrors' , track-by ='index' ) {{ error }}
36+ span( v-for ='(error, index) in fieldErrors(field)' , v-if ='field.unscapeErrors' , v-html ="error" , track-by ='index' )
37+ span( v-for ='(error, index) in fieldErrors(field)' , v-if ='! field.unscapeErrors' , track-by ='index' ) {{ error }}
3838</template >
3939
4040<script >
@@ -282,7 +282,7 @@ div.vue-form-generator(v-if='schema != null')
282282
283283 return field .featured ;
284284 },
285-
285+
286286 // Get current hint.
287287 fieldHint (field ){
288288 if (isFunction (field .hint ))
@@ -381,7 +381,7 @@ div.vue-form-generator(v-if='schema != null')
381381 getFieldID (schema ) {
382382 const idPrefix = this .options && this .options .fieldIdPrefix ? this .options .fieldIdPrefix : " " ;
383383 return slugifyFormID (schema, idPrefix);
384- }
384+ }
385385 }
386386 };
387387
0 commit comments