Skip to content

Commit

Permalink
feat: support clearable for search
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Jun 24, 2024
1 parent 6fc609b commit 9cb5fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function handleClick(value: string, { name, icon }: { name: string; icon: string
>
<div class="flex flex-col justify-center h-66px">
<div class="flex items-center gap-20px">
<var-input class="w-300px" size="small" variant="outlined" placeholder="Search..." v-model="search" />
<var-input class="w-300px" size="small" variant="outlined" placeholder="Search..." clearable v-model="search" />
<var-button icon-container round @click="toggleDark">
<var-icon name="palette" />
</var-button>
Expand Down

0 comments on commit 9cb5fbb

Please sign in to comment.