From c43a9226418f61e2eb46573afa8d46efab25eac8 Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Sun, 12 Apr 2026 23:19:15 +0200 Subject: [PATCH] fix(app): don't send tag_category when field type is not tag_picker The backend validates tag_category as 'prohibited' for non-tag_picker field types. Sending null triggered a 422 validation error. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../components/organisation/RegistrationFieldTemplatesTab.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/app/src/components/organisation/RegistrationFieldTemplatesTab.vue b/apps/app/src/components/organisation/RegistrationFieldTemplatesTab.vue index f1e4efc1..70b08342 100644 --- a/apps/app/src/components/organisation/RegistrationFieldTemplatesTab.vue +++ b/apps/app/src/components/organisation/RegistrationFieldTemplatesTab.vue @@ -140,9 +140,6 @@ function onSubmit() { if (showTagCategory.value) { payload.tag_category = form.value.tag_category || null } - else { - payload.tag_category = null - } if (editingTemplate.value) { updateTemplate(