Extract Input component and add some dark color tags

This commit is contained in:
2022-03-02 19:48:24 +00:00
committed by Gitea
parent f0ec7fb30d
commit 1e79f193be
5 changed files with 30 additions and 14 deletions

View File

@ -4,6 +4,7 @@ import Autocomplete from '../components/Autocomplete.vue'
import { Transaction, useTransactionsStore } from "../stores/transactions";
import DateInput from "./DateInput.vue";
import Button from "./Button.vue";
import Input from "./Input.vue";
const props = defineProps<{
budgetid: string
@ -65,11 +66,11 @@ function saveTransaction(e: MouseEvent) {
<Autocomplete v-model:text="TX.Category" v-model:id="TX.CategoryID" model="categories" />
</td>
<td class="col-span-2">
<input class="block w-full border-b-2 border-black" type="text" v-model="TX.Memo" />
<Input class="block w-full border-b-2 border-black" type="text" v-model="TX.Memo" />
</td>
<label class="md:hidden">Amount</label>
<td class="text-right">
<input
<Input
class="text-right block w-full border-b-2 border-black"
type="currency"
v-model="TX.Amount"