Fixed #5208 - Update default dropdown filter icon

pull/5216/head
Cagatay Civici 2024-02-05 01:25:02 +03:00
parent eec1dd5113
commit 3ca7807f65
1 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@
v-bind="{ ...filterInputProps, ...ptm('filterInput') }" v-bind="{ ...filterInputProps, ...ptm('filterInput') }"
/> />
<slot name="filtericon" :class="cx('filterIcon')"> <slot name="filtericon" :class="cx('filterIcon')">
<component :is="filterIcon ? 'span' : 'FilterIcon'" :class="[cx('filterIcon'), filterIcon]" v-bind="ptm('filterIcon')" /> <component :is="filterIcon ? 'span' : 'SearchIcon'" :class="[cx('filterIcon'), filterIcon]" v-bind="ptm('filterIcon')" />
</slot> </slot>
</div> </div>
<span role="status" aria-live="polite" class="p-hidden-accessible" v-bind="ptm('hiddenFilterResult')" :data-p-hidden-accessible="true"> <span role="status" aria-live="polite" class="p-hidden-accessible" v-bind="ptm('hiddenFilterResult')" :data-p-hidden-accessible="true">
@ -180,7 +180,7 @@ import { FilterService } from 'primevue/api';
import BlankIcon from 'primevue/icons/blank'; import BlankIcon from 'primevue/icons/blank';
import CheckIcon from 'primevue/icons/check'; import CheckIcon from 'primevue/icons/check';
import ChevronDownIcon from 'primevue/icons/chevrondown'; import ChevronDownIcon from 'primevue/icons/chevrondown';
import FilterIcon from 'primevue/icons/filter'; import SearchIcon from 'primevue/icons/search';
import SpinnerIcon from 'primevue/icons/spinner'; import SpinnerIcon from 'primevue/icons/spinner';
import TimesIcon from 'primevue/icons/times'; import TimesIcon from 'primevue/icons/times';
import OverlayEventBus from 'primevue/overlayeventbus'; import OverlayEventBus from 'primevue/overlayeventbus';
@ -977,7 +977,7 @@ export default {
TimesIcon, TimesIcon,
ChevronDownIcon, ChevronDownIcon,
SpinnerIcon, SpinnerIcon,
FilterIcon, SearchIcon,
CheckIcon, CheckIcon,
BlankIcon BlankIcon
} }