Skip to content

Commit

Permalink
use debounce input
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiejoevanstone committed Apr 9, 2023
1 parent f818341 commit 81d8e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@
</PVColumn>
<PVColumn field="primaryItem.name" header="PRIMARY DROP">
<template #body="{ data }">
<TextHighlighter v-model="input" :enable="findByItemName" :text-to-highlight="data.primaryItem.name" />
<TextHighlighter v-model="debouncedInput" :enable="findByItemName" :text-to-highlight="data.primaryItem.name" />
</template>
</PVColumn>
<PVColumn field="secondaryItem.name" header="SECONDARY DROP">
<template #body="{ data }">
<TextHighlighter v-model="input" :enable="findByItemName" :text-to-highlight="data.secondaryItem.name" />
<TextHighlighter v-model="debouncedInput" :enable="findByItemName" :text-to-highlight="data.secondaryItem.name" />
</template>
</PVColumn>
<PVColumn field="boss" header="BOSS">
Expand Down

0 comments on commit 81d8e97

Please sign in to comment.