From 70379fecfaf7e5beef249640640b57a9018b2575 Mon Sep 17 00:00:00 2001
From: Cagatay Civici
<Dropdown v-model="selectedCar" :options="cars" optionLabel="brand" :filter="true" placeholder="Select a Car" :showClear="true">
- <template #header></template>
<template #value="slotProps">
<div class="p-dropdown-car-value" v-if="slotProps.value">
<img :alt="slotProps.value.brand" :src="'demo/images/car/' + slotProps.value.brand + '.png'" />
@@ -111,7 +110,6 @@ export default {
<span>{{slotProps.option.brand}}</span>
</div>
</template>
- <template #footer></template>
</Dropdown>
diff --git a/src/views/multiselect/MultiSelectDoc.vue b/src/views/multiselect/MultiSelectDoc.vue
index 6359c8cfa..37acbd963 100755
--- a/src/views/multiselect/MultiSelectDoc.vue
+++ b/src/views/multiselect/MultiSelectDoc.vue
@@ -103,7 +103,6 @@ export default {
In addition value, optiongroup, header, footer, emptyfilter and empty slots are provided for further customization.
<MultiSelect v-model="selectedCars2" :options="cars" optionLabel="brand" placeholder="Select a Car">
- <template #header></template>
<template #value="slotProps">
<div class="p-multiselect-car-token" v-for="option of slotProps.value" :key="option.brand">
<img :alt="option.brand" :src="'demo/images/car/' + option.brand + '.png'" />
@@ -119,7 +118,6 @@ export default {
<span>{{slotProps.option.brand}}</span>
</div>
</template>
- <template #footer></template>
</MultiSelect>