Skip to content

Commit

Permalink
fix: 🐛 dsfr-select type
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudTA committed Oct 21, 2024
1 parent b163be1 commit 1bd65d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DsfrSelect/DsfrSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const messageType = computed(() => {
@change="$emit('update:modelValue', ($event.target as HTMLInputElement)?.value)"
>
<option
:selected="modelValue == null || !options.some(option => typeof option !== 'object' ? option !== modelValue : option.value === modelValue)"
:selected="!options.some(option => typeof option !== 'object' || option === null ? option === modelValue : option.value === modelValue)"
disabled
hidden
>
Expand Down

0 comments on commit 1bd65d8

Please sign in to comment.