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