@@ -14,8 +14,8 @@ 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.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 }}
19
19
20
20
template( v-for ='group in groups' )
21
21
fieldset( :is ='tag' , :class ='getFieldRowClasses(group)' )
@@ -33,8 +33,8 @@ div.vue-form-generator(v-if='schema != null')
33
33
button( v-for ='btn in field.buttons' , @click ='buttonClickHandler(btn, field, $event)' , :class ='btn.classes' ) {{ btn.label }}
34
34
.hint ( v-if ='field.hint' ) {{ field.hint }}
35
35
.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 }}
38
38
</template >
39
39
40
40
<script >
@@ -282,7 +282,7 @@ div.vue-form-generator(v-if='schema != null')
282
282
283
283
return field .featured ;
284
284
},
285
-
285
+
286
286
// Get current hint.
287
287
fieldHint (field ){
288
288
if (isFunction (field .hint ))
@@ -381,7 +381,7 @@ div.vue-form-generator(v-if='schema != null')
381
381
getFieldID (schema ) {
382
382
const idPrefix = this .options && this .options .fieldIdPrefix ? this .options .fieldIdPrefix : " " ;
383
383
return slugifyFormID (schema, idPrefix);
384
- }
384
+ }
385
385
}
386
386
};
387
387
0 commit comments