0
0
Fork 0

fix: refs #6891 show cross

This commit is contained in:
Jorge Penadés 2024-06-03 15:19:33 +02:00
parent f55e9d7c32
commit 0b92e98511
1 changed files with 2 additions and 2 deletions

View File

@ -74,13 +74,13 @@ const inputRules = [
<template v-if="$slots.prepend" #prepend> <template v-if="$slots.prepend" #prepend>
<slot name="prepend" /> <slot name="prepend" />
</template> </template>
<template #append> <template #append>
<slot name="append" v-if="$slots.append && !$attrs.disabled" /> <slot name="append" v-if="$slots.append && !$attrs.disabled" />
<QIcon <QIcon
name="close" name="close"
size="xs" size="xs"
v-if="$slots.append && hover && value && !$attrs.disabled" v-if="hover && value && !$attrs.disabled"
@click="value = null" @click="value = null"
></QIcon> ></QIcon>
</template> </template>