Skip to content

Commit

Permalink
Merge branch '2024.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlabci committed Nov 21, 2024
2 parents ee1eb2e + 4ce1187 commit f2bbb9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const props = defineProps({
alertVariant: String // 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark',
})

const selectedOption = ref(props.options[props.allowMultiple ? 'filter' : 'find'](el => el.checked)?.inputValue)
const selectedOption = ref(props.allowMultiple ? props.options.filter(e => e.checked).map(e => e.inputValue) : props.options.find(el => el.checked)?.inputValue)

const _options = computed(() => {
return props.options.map(el => {
Expand Down

0 comments on commit f2bbb9c

Please sign in to comment.