Add keys to inputs to prevent Vue from re-using elements

This commit is contained in:
Patrick Smith
2018-08-10 14:31:26 -04:00
parent 8859ca238e
commit 7b01e5b8a3
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
validation='{{ validation }}'
{% if field.data %}initial-value='{{ field.data }}'{% endif %}
{% if field.errors %}v-bind:initial-errors='{{ field.errors }}'{% endif %}
key='{{ field.name }}'
inline-template>
<div