Skip to content

Commit

Permalink
fix(vue): fix selectedOption check
Browse files Browse the repository at this point in the history
  • Loading branch information
rhmkstk committed Mar 4, 2024
1 parent bfebe49 commit 131fadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/components/Select/LuiSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ function clearSelection() {
</template>
<template v-if="showAppend" #append>
<slot name="append">
<button v-if="clearable && selectedOption.value.length">
<button v-if="clearable && selectedOption.value !== ''">
<ClearIcon @click.stop="clearSelection" />
</button>
<ArrowDownIcon v-else />
Expand Down

0 comments on commit 131fadf

Please sign in to comment.