From 1fbbc4d34ce94d24443cdda982e8a6f1d544545d Mon Sep 17 00:00:00 2001 From: leonie2003 Date: Tue, 5 Mar 2024 21:50:16 +0100 Subject: [PATCH] add even more feedback --- frontend/components/input/SelectionField.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/frontend/components/input/SelectionField.tsx b/frontend/components/input/SelectionField.tsx index 355063da..e3a301a8 100644 --- a/frontend/components/input/SelectionField.tsx +++ b/frontend/components/input/SelectionField.tsx @@ -14,6 +14,10 @@ export type SelectionListItem = { }; interface SelectionFieldProps { + /** + * Unique identifier + */ + id: string; /** * Title */ @@ -66,7 +70,7 @@ export const SelectionField = ({ {visible && ( -
+
{list?.map((selectionItem) => (
{selectionItem.title} -
+
{" "} - + {selectionItem.description}