diff --git a/src/views/dropdown/DropdownDoc.vue b/src/views/dropdown/DropdownDoc.vue index 37b26f26c..20d02e462 100755 --- a/src/views/dropdown/DropdownDoc.vue +++ b/src/views/dropdown/DropdownDoc.vue @@ -95,7 +95,6 @@ export default { In addition value, optiongroup, header, footer, emptyfilter and empty slots are provided for further customization.
<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>