Skip to content
Snippets Groups Projects
Commit 8a42e736 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix: only show errors list container if there are errors to display

The container added a little spacing around it that sometimes caused
issues.
parent c4d24260
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,11 @@
<slot name="iconLeft" :class="[iconClasses, 'tw-ml-2']" role="presentation" />
<slot name="iconRight" :class="[iconClasses, 'tw-mr-2']" role="presentation" />
</div>
<div v-if="errors !== undefined" :id="errorsId" class="invalid-feedback">
<div
v-if="errors !== undefined && errors.length > 0"
:id="errorsId"
class="invalid-feedback"
>
<template v-for="(error, index) in errorList" :key="index">
<p class="last:tw-mb-0">
{{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment