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}”.`"
|
v-text="`Unsupported field type: “${type}”.`"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<transition-group
|
<transition
|
||||||
tag="ul"
|
|
||||||
name="formulate-errors"
|
name="formulate-errors"
|
||||||
class="formulate-errors"
|
|
||||||
v-if="shouldShowErrors && localAndValidationErrors.length"
|
|
||||||
>
|
>
|
||||||
<li
|
<transition-group
|
||||||
v-for="error in localAndValidationErrors"
|
tag="ul"
|
||||||
v-text="error"
|
name="formulate-error-list"
|
||||||
:key="error"
|
class="formulate-errors"
|
||||||
/>
|
v-if="shouldShowErrors && localAndValidationErrors.length"
|
||||||
</transition-group>
|
>
|
||||||
|
<li
|
||||||
|
v-for="error in localAndValidationErrors"
|
||||||
|
v-text="error"
|
||||||
|
:key="error"
|
||||||
|
/>
|
||||||
|
</transition-group>
|
||||||
|
</transition>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user