Update AutoComplete.vue

pull/5848/head
tugcekucukoglu 2024-06-06 11:49:51 +03:00
parent f34aa05d3f
commit 4230a0fbe9
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@
:data-p-disabled="isOptionDisabled(option)" :data-p-disabled="isOptionDisabled(option)"
v-bind="getPTOptions(option, getItemOptions, i, 'option')" v-bind="getPTOptions(option, getItemOptions, i, 'option')"
> >
<slot v-if="$slots.option" name="option" :option="option" :index="getOptionIndex(i, getItemOptions)">{{ getOptionLabel(option) }}</slot> <slot name="option" :option="option" :index="getOptionIndex(i, getItemOptions)">{{ getOptionLabel(option) }}</slot>
</li> </li>
</template> </template>
<li v-if="!items || (items && items.length === 0)" :class="cx('emptyMessage')" role="option" v-bind="ptm('emptyMessage')"> <li v-if="!items || (items && items.length === 0)" :class="cx('emptyMessage')" role="option" v-bind="ptm('emptyMessage')">