0
0
Fork 0

perf: change slots order

This commit is contained in:
Javier Segarra 2024-07-04 17:32:36 +02:00
parent 1c88bf2556
commit 72a6056f3d
1 changed files with 6 additions and 1 deletions

View File

@ -88,7 +88,6 @@ const inputRules = [
<slot name="prepend" /> <slot name="prepend" />
</template> </template>
<template #append> <template #append>
<slot name="append" v-if="$slots.append && !$attrs.disabled" />
<QIcon <QIcon
name="close" name="close"
size="xs" size="xs"
@ -100,6 +99,7 @@ const inputRules = [
} }
" "
></QIcon> ></QIcon>
<slot name="append" v-if="$slots.append && !$attrs.disabled" />
<QIcon v-if="info" name="info"> <QIcon v-if="info" name="info">
<QTooltip max-width="350px"> <QTooltip max-width="350px">
{{ info }} {{ info }}
@ -115,3 +115,8 @@ const inputRules = [
es: es:
inputMin: Debe ser mayor a {value} inputMin: Debe ser mayor a {value}
</i18n> </i18n>
<style lang="scss">
.q-field__append {
padding-inline: 0;
}
</style>