Skip to content

Commit

Permalink
feat(searchtext): add a search value bind for search input (#59)
Browse files Browse the repository at this point in the history
* feat(searchbox): add box shadow

* feat(searchtext): add searchtext

* feat(searchtext): add variable searchtext

* feat(searchtext): add a search value bind for search input

* feat(searchtext): add a search value bind for search input

---------

Co-authored-by: 苏向夜 <[email protected]>
  • Loading branch information
YESWmeshade and fu050409 authored Jul 23, 2024
1 parent 5804546 commit b852a83
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/views/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const menu = shallowReactive([
},
]);
const activeMenu = ref<number>(0);
const searchText = ref<string>('');
const theme = ref(
new Proxy(
Expand Down Expand Up @@ -73,7 +74,12 @@ onMounted(async () => {
<InputIcon>
<i class="pi pi-search"></i>
</InputIcon>
<InputText size="small" placeholder="Search" disabled />
<InputText
v-model="searchText"
size="small"
placeholder="Search"
disabled
/>
</IconField>
</div>

Expand Down

0 comments on commit b852a83

Please sign in to comment.