Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 80ecf31

Browse files
committed
🐛 fix $index
1 parent 8ab6894 commit 80ecf31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/formGenerator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ div
1414
button(v-for='btn in field.buttons', @click='btn.onclick(model, field)', :class='btn.classes') {{ btn.label }}
1515
.hint(v-if='field.hint') {{ field.hint }}
1616
.errors(v-if='errorsVisibility(field)')
17-
span(v-for='errorin field.errors', track-by='$index') {{ error }}
17+
span(v-for='(error, index) in field.errors', track-by='index') {{ error }}
1818
</template>
1919

2020
<script>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /