Merge pull request '#7936 fix: handle non-object options' (!1115) from 7936-warmfix-showRawValues into test
Reviewed-on: #1115 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
4483d1cae0
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue