Adds transition element around formulate-errors-list
This commit is contained in:
parent
b9a94dc8fa
commit
abcc8fffa3
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -88,18 +88,22 @@
|
||||
v-text="`Unsupported field type: “${type}”.`"
|
||||
/>
|
||||
</div>
|
||||
<transition-group
|
||||
tag="ul"
|
||||
<transition
|
||||
name="formulate-errors"
|
||||
class="formulate-errors"
|
||||
v-if="shouldShowErrors && localAndValidationErrors.length"
|
||||
>
|
||||
<li
|
||||
v-for="error in localAndValidationErrors"
|
||||
v-text="error"
|
||||
:key="error"
|
||||
/>
|
||||
</transition-group>
|
||||
<transition-group
|
||||
tag="ul"
|
||||
name="formulate-error-list"
|
||||
class="formulate-errors"
|
||||
v-if="shouldShowErrors && localAndValidationErrors.length"
|
||||
>
|
||||
<li
|
||||
v-for="error in localAndValidationErrors"
|
||||
v-text="error"
|
||||
:key="error"
|
||||
/>
|
||||
</transition-group>
|
||||
</transition>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user