mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 10:33:30 +00:00
New and optimised Vue code, courtesy of @GaryQ
This commit is contained in:
@@ -25,9 +25,16 @@
|
||||
</div>
|
||||
<label class="col-sm-4 control-label" ref="cur"></label>
|
||||
<div class="col-sm-8">
|
||||
<input type="number" @input="handleInput" ref="amount" :value="value" step="any" class="form-control"
|
||||
name="amount[]"
|
||||
title="$t('firefly.amount')" autocomplete="off" v-bind:placeholder="$t('firefly.amount')">
|
||||
<input type="number"
|
||||
@input="handleInput"
|
||||
ref="amount"
|
||||
:value="value"
|
||||
step="any"
|
||||
class="form-control"
|
||||
name="amount[]"
|
||||
:title="$t('firefly.amount')"
|
||||
autocomplete="off"
|
||||
v-bind:placeholder="$t('firefly.amount')">
|
||||
<ul class="list-unstyled" v-for="error in this.error">
|
||||
<li class="text-danger">{{ error }}</li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user