From 5e08d7f67d44cca3886c4ac319abf48789237508 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 1 May 2024 17:38:59 +0200 Subject: [PATCH] fix choice field to fit stricter validation --- src/frontend/src/components/forms/fields/ChoiceField.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/forms/fields/ChoiceField.tsx b/src/frontend/src/components/forms/fields/ChoiceField.tsx index 81f7470e43..a65f630463 100644 --- a/src/frontend/src/components/forms/fields/ChoiceField.tsx +++ b/src/frontend/src/components/forms/fields/ChoiceField.tsx @@ -31,8 +31,8 @@ export function ChoiceField({ return choices.map((choice) => { return { - value: choice.value, - label: choice.display_name + value: choice.value.toString(), + label: choice.display_name.toString() }; }); }, [definition.choices]);