MultiSelect: pt loadingIcon typo fix

pull/4101/head^2
Tuğçe Küçükoğlu 2023-07-06 15:28:09 +03:00
parent afd64097b3
commit f10ff10bc7
2 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ const classes = {
tokenLabel: 'p-multiselect-token-label', tokenLabel: 'p-multiselect-token-label',
removeTokenIcon: 'p-multiselect-token-icon', removeTokenIcon: 'p-multiselect-token-icon',
trigger: 'p-multiselect-trigger', trigger: 'p-multiselect-trigger',
triggerIcon: 'p-multiselect-trigger-icon', loadingIcon: 'p-multiselect-trigger-icon',
dropdownIcon: 'p-multiselect-trigger-icon', dropdownIcon: 'p-multiselect-trigger-icon',
panel: ({ instance }) => [ panel: ({ instance }) => [
'p-multiselect-panel p-component', 'p-multiselect-panel p-component',

View File

@ -44,9 +44,9 @@
</div> </div>
</div> </div>
<div :class="cx('trigger')" v-bind="ptm('triggger')"> <div :class="cx('trigger')" v-bind="ptm('triggger')">
<slot v-if="loading" name="loadingicon" :class="cx('triggerIcon')"> <slot v-if="loading" name="loadingicon" :class="cx('loadingIcon')">
<span v-if="loadingIcon" :class="[cx('triggerIcon'), 'pi-spin', loadingIcon]" aria-hidden="true" v-bind="ptm('triggerIcon')" /> <span v-if="loadingIcon" :class="[cx('loadingIcon'), 'pi-spin', loadingIcon]" aria-hidden="true" v-bind="ptm('loadingIcon')" />
<SpinnerIcon v-else :class="cx('triggerIcon')" spin aria-hidden="true" v-bind="ptm('triggerIcon')" /> <SpinnerIcon v-else :class="cx('loadingIcon')" spin aria-hidden="true" v-bind="ptm('loadingIcon')" />
</slot> </slot>
<slot v-else name="dropdownicon" :class="cx('dropdownIcon')"> <slot v-else name="dropdownicon" :class="cx('dropdownIcon')">
<component :is="dropdownIcon ? 'span' : 'ChevronDownIcon'" :class="[cx('dropdownIcon'), dropdownIcon]" aria-hidden="true" v-bind="ptm('dropdownIcon')" /> <component :is="dropdownIcon ? 'span' : 'ChevronDownIcon'" :class="[cx('dropdownIcon'), dropdownIcon]" aria-hidden="true" v-bind="ptm('dropdownIcon')" />