From 82f952bbacd30d165be8a946667fa712fbd94cf0 Mon Sep 17 00:00:00 2001 From: David Auer Date: Tue, 10 Oct 2023 13:01:49 +0200 Subject: [PATCH] tickets/forms: fix multiple values error --- tickets/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tickets/forms.py b/tickets/forms.py index ff6c099..4616494 100644 --- a/tickets/forms.py +++ b/tickets/forms.py @@ -17,7 +17,7 @@ class Meta: def __init__(self, *args, **kwargs): instance = kwargs.get("instance") - initial = {} + initial = kwargs.pop('initial', {}) # pop to avoid mulitple values in super call if instance: customer_full_name_split = instance.customer_full_name.split(