Fixed bug that not show the tags as checkboxes, now yes

This commit is contained in:
JKuijperM 2026-07-10 09:34:38 +02:00
parent ffe00927f7
commit 3616e6e845

View File

@ -30,7 +30,7 @@ class ExpenseForm(forms.ModelForm):
]
widgets = {
"date": forms.DateInput(format="%Y-%m-%d", attrs={"type": "date"}),
"widget": forms.CheckboxSelectMultiple(),
"tags": forms.CheckboxSelectMultiple(),
}
@ -95,6 +95,8 @@ class CategoryForm(forms.ModelForm):
self.fields["parent"].queryset = Category.objects.filter(
owner=user,
)
class GoalForm(forms.ModelForm):
class Meta:
model = Goal