diff --git a/frontend/src/components/transactions/SplitForm.vue b/frontend/src/components/transactions/SplitForm.vue index ccf30266d0..d96e52ac62 100644 --- a/frontend/src/components/transactions/SplitForm.vue +++ b/frontend/src/components/transactions/SplitForm.vue @@ -351,18 +351,22 @@ export default { sourceAllowedTypes: { type: Array, required: false, - default: [] + default: function () { + return []; + } }, // allowed source account types. destinationAllowedTypes: { type: Array, required: false, - default: [] + default: function () { + return []; + } }, // allow switch? allowSwitch: { type: Boolean, required: false, - default: true + default: false } },