mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-05 04:21:40 +00:00
Split components for future recycling.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<select
|
||||
ref="budget"
|
||||
:title="$t('firefly.budget')"
|
||||
v-model="value"
|
||||
v-model="budget"
|
||||
autocomplete="off"
|
||||
:class="errors.length > 0 ? 'form-control is-invalid' : 'form-control'"
|
||||
name="budget_id[]"
|
||||
@@ -53,7 +53,8 @@ export default {
|
||||
name: "TransactionBudget",
|
||||
data() {
|
||||
return {
|
||||
budgetList: []
|
||||
budgetList: [],
|
||||
budget: this.value
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -96,7 +97,7 @@ export default {
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
value: function (value) {
|
||||
budget: function (value) {
|
||||
this.updateField({field: 'budget_id', index: this.index, value: value});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user