formulate-errors now uses a transition-group wrapper to allow for vue transitions
This commit is contained in:
parent
1c43d7bb95
commit
9cc1105a21
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -88,7 +88,9 @@
|
|||||||
v-text="`Unsupported field type: “${type}”.`"
|
v-text="`Unsupported field type: “${type}”.`"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<ul
|
<transition-group
|
||||||
|
tag="ul"
|
||||||
|
name="formulate-errors"
|
||||||
class="formulate-errors"
|
class="formulate-errors"
|
||||||
v-if="shouldShowErrors && localAndValidationErrors.length"
|
v-if="shouldShowErrors && localAndValidationErrors.length"
|
||||||
>
|
>
|
||||||
@ -97,7 +99,7 @@
|
|||||||
v-text="error"
|
v-text="error"
|
||||||
:key="error"
|
:key="error"
|
||||||
/>
|
/>
|
||||||
</ul>
|
</transition-group>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user