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 c7aaccd commit c3776e0
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 c3776e0

Please sign in to comment.