Only regenerate comparative income statement on input change event

This commit is contained in:
RunasSudo 2025-02-22 23:37:31 +11:00
parent 344241ccd7
commit 805d6d7904
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -60,11 +60,11 @@
<ComparativeDynamicReportComponent :reports="reports" :labels="reportLabels">
<div class="my-2 py-2 flex">
<div class="grow flex gap-x-2 items-baseline">
<input type="date" class="bordered-field" v-model="dtStart">
<input type="date" class="bordered-field" v-model.lazy="dtStart">
<span>to</span>
<input type="date" class="bordered-field" v-model="dt">
<input type="date" class="bordered-field" v-model.lazy="dt">
<span>Compare</span>
<input type="number" class="bordered-field w-[4em]" v-model="compareMonths">
<input type="number" class="bordered-field w-[4em]" v-model.lazy="compareMonths">
<span>months</span>
</div>
</div>