fix: null message on input help (#343)

* fix: null message on input help

* fix null message
This commit is contained in:
Favour Olayinka 2024-03-12 10:06:20 +01:00 committed by GitHub
parent aea4c7e063
commit 299e1e677a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="flex mb-1 input-help">
<small :class="theme.default.help" class="grow flex">
<slot name="help"><span class="field-help" v-html="help" /></slot>
<slot name="help"><span v-if="help" class="field-help" v-html="help" /></slot>
</small>
<slot name="after-help">
<small class="flex-grow" />