Refactor #3832 Refactor #3833 - Update AutoComplete with dropdown

pull/3861/head
mertsincan 2023-04-13 12:20:09 +03:00
parent bcb93b534d
commit 100485460a
1 changed files with 5 additions and 3 deletions

View File

@ -89,9 +89,11 @@
<component :is="loadingIcon ? 'i' : 'SpinnerIcon'" :class="['p-autocomplete-loader', loadingIcon]" spin aria-hidden="true" />
</slot>
<Button v-if="dropdown" ref="dropdownButton" type="button" tabindex="-1" :class="['p-autocomplete-dropdown', dropdownClass]" :disabled="disabled" aria-hidden="true" @click="onDropdownClick">
<template #icon>
<slot name="dropdownicon">
<component :is="dropdownIcon ? 'span' : 'ChevronDownIcon'" :class="dropdownIcon" />
</slot>
</template>
</Button>
<span role="status" aria-live="polite" class="p-hidden-accessible">
{{ searchResultMessageText }}