Skip to content

Commit 79c0852

Browse files
committed
[BUGFIX] Fieldset in proper place un puq template
1 parent 613e831 commit 79c0852

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/formGenerator.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template lang="pug">
22
div
3-
fieldset.vue-form-generator(v-if='schema != null', :is='tag')
4-
template(v-for='field in fields' v-if='fields')
3+
template(v-for='field in fields' v-if='fields')
4+
fieldset.vue-form-generator(v-if='schema != null', :is='tag')
55
.form-group(v-if='fieldVisible(field)', :class='getFieldRowClasses(field)')
66
label(v-if="fieldTypeHasLabel(field)", :for="getFieldID(field)")
77
| {{ field.label }}
@@ -15,7 +15,8 @@ div
1515
.hint(v-if='field.hint') {{ field.hint }}
1616
.errors.help-block(v-if='fieldErrors(field).length > 0')
1717
span(v-for='(error, index) in fieldErrors(field)', track-by='index') {{ error }}
18-
template(v-for='group in groups' v-if='groups')
18+
template(v-for='group in groups' v-if='groups')
19+
fieldset.vue-form-generator(v-if='schema != null', :is='tag')
1920
legend(v-if='group.legend') {{ group.legend }}
2021
template(v-for='field in group.fields')
2122
.form-group(v-if='fieldVisible(field)', :class='getFieldRowClasses(field)')

0 commit comments

Comments
 (0)