mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-20 10:11:21 +00:00
Rebuild frontend, first working edit form (no feedback)
This commit is contained in:
@@ -43,7 +43,6 @@ export default {
|
||||
return {
|
||||
notes: this.value,
|
||||
availableFields: this.customFields,
|
||||
emitEvent: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -56,17 +55,13 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
value: function (value) {
|
||||
this.emitEvent = false;
|
||||
this.notes = value;
|
||||
},
|
||||
customFields: function (value) {
|
||||
this.availableFields = value;
|
||||
},
|
||||
notes: function (value) {
|
||||
if (true === this.emitEvent) {
|
||||
this.$emit('set-field', {field: 'notes', index: this.index, value: value});
|
||||
}
|
||||
this.emitEvent = true;
|
||||
this.$emit('set-field', {field: 'notes', index: this.index, value: value});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user