We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eef811 commit 290a0d5Copy full SHA for 290a0d5
frontend/src2/components/LazyTextInput.vue
@@ -19,10 +19,10 @@ const modelValue = defineModel({
19
@keydown.enter="modelValue = $event.target.value"
20
@blur="modelValue = $event.target.value"
21
>
22
- <template #prefix>
+ <template #prefix v-if="$slots.prefix">
23
<slot name="prefix"></slot>
24
</template>
25
- <template #suffix>
+ <template #suffix v-if="$slots.suffix">
26
<slot name="suffix"></slot>
27
28
</TextInput>
0 commit comments