testToDev #1119

Merged
jorgep merged 5 commits from testToDev into dev 2024-12-19 15:13:07 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 4483d1cae0 - Show all commits

View File

@ -379,7 +379,8 @@ function handleKeyDown(event) {
</template> </template>
<template #option="{ opt, itemProps }"> <template #option="{ opt, itemProps }">
<QItem v-bind="itemProps"> <QItem v-bind="itemProps">
<QItemSection v-if="opt[optionValue] == opt[optionLabel]"> <QItemSection v-if="typeof opt !== 'object'"> {{ opt }}</QItemSection>
<QItemSection v-else-if="opt[optionValue] == opt[optionLabel]">
<QItemLabel>{{ opt[optionLabel] }}</QItemLabel> <QItemLabel>{{ opt[optionLabel] }}</QItemLabel>
</QItemSection> </QItemSection>
<QItemSection v-else> <QItemSection v-else>