Skip to content

Commit

Permalink
fix: if not specified, fallback to non-group options
Browse files Browse the repository at this point in the history
fix: #347
  • Loading branch information
Ernest committed Nov 17, 2021
1 parent 0e233ea commit 45d1afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ const VueSelect = defineComponent({
label: normalized.labelBy(option),
// selected: selectedValueSet.value.has(normalized.valueBy(option)),
// disabled: normalized.disabledBy(option),
group: normalized.groupBy(option),
group: normalized.groupBy(option) ?? false,
// visible: visibleValueSet.has(normalized.valueBy(option)),
// hidden: props.hideSelected ? selectedValueSet.value.has(normalized.valueBy(option)) : false,
originalIndex: index,
Expand Down

0 comments on commit 45d1afd

Please sign in to comment.