1
0
mirror of synced 2024-11-22 21:36:04 +03:00

formulate-errors now uses a transition-group wrapper to allow for vue transitions

This commit is contained in:
Justin Schroeder 2018-02-27 09:04:07 -05:00
parent 1c43d7bb95
commit 9cc1105a21
2 changed files with 5 additions and 3 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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>