refactor: debounce on typing

This commit is contained in:
Methapon Metanipat 2024-10-10 15:05:00 +07:00
parent e3210abbd7
commit 99c43bdd66
2 changed files with 5 additions and 1 deletions

View file

@ -326,6 +326,7 @@ watch(
:type="readonly ? 'text' : 'number'"
style="width: 70px"
min="0"
debounce="500"
v-model="props.row.amount"
/>
</q-td>
@ -347,6 +348,7 @@ watch(
input-class="text-right"
:type="readonly ? 'text' : 'number'"
style="width: 90px"
debounce="500"
v-model="props.row.discount"
/>
</q-td>