diff --git a/components/application/applicationField.tsx b/components/application/applicationField.tsx index e9f3da6f..f887fae4 100644 --- a/components/application/applicationField.tsx +++ b/components/application/applicationField.tsx @@ -67,7 +67,7 @@ const ApplicationValue = ({ field }: ApplicationFieldProps) => { ); - case "DROPDOWN" || "MULTIPLE_CHOICE": + case "DROPDOWN": const value = field.options?.find((opt) => opt.id === field.value?.at(0)); if (value) { return ( @@ -89,6 +89,16 @@ const ApplicationValue = ({ field }: ApplicationFieldProps) => { ); } + case "MULTIPLE_CHOICE": + const selected_value = field.options?.find( + (opt) => opt.id === field.value?.at(0), + ); + if (selected_value) { + return

{selected_value.text}

; + } + + return

No value

; + case "TEXTAREA": return