mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Better event.
This commit is contained in:
parent
978c56b16b
commit
b151ec0c85
@ -42,7 +42,7 @@
|
||||
v-on:set-foreign-amount="storeField($event)"
|
||||
v-on:set-date="storeDate($event)"
|
||||
v-on:set-time="storeTime($event)"
|
||||
v-on:set-custom-date="storeCustomDate(index, $event)"
|
||||
v-on:set-custom-date="storeField($event)"
|
||||
v-on:set-budget="storeBudget(index, $event)"
|
||||
v-on:set-category="storeCategory(index, $event)"
|
||||
v-on:set-bill="storeBill(index, $event)"
|
||||
|
@ -84,7 +84,7 @@ export default {
|
||||
return this.dates[field] ?? '';
|
||||
},
|
||||
setFieldValue(event, field) {
|
||||
this.$emit('set-custom-date', { field: field, date: event.target.value});
|
||||
this.$emit('set-custom-date', {field: field, index: this.index, value: event.target.value});
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user