From 3298f2d81576b92eb08e580c2686983a65786d41 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 1 May 2021 08:47:20 +0200 Subject: [PATCH] Form changes. --- frontend/src/components/transactions/SplitForm.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 } },