Budget box is back.

This commit is contained in:
James Cole
2019-08-18 09:07:08 +02:00
parent ccc12171d6
commit a7b2fbbf10
4 changed files with 8 additions and 6 deletions

View File

@@ -29,7 +29,7 @@
<input type="date" class="form-control" :name="name"
:title="title" autocomplete="off"
ref="date"
:value="value.substr(0,10)" @input="handleInput"
:value="value ? value.substr(0,10): ''" @input="handleInput"
:placeholder="title">
<ul class="list-unstyled" v-for="error in this.error">
<li class="text-danger">{{ error }}</li>