From 7b9795596412f1e541cc4b3339718f47c72b94c9 Mon Sep 17 00:00:00 2001 From: atticusofsparta Date: Mon, 6 Jan 2025 12:38:12 -0600 Subject: [PATCH] fix(select): dont filter out currently selected option --- src/components/inputs/Select.tsx | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/components/inputs/Select.tsx b/src/components/inputs/Select.tsx index a531196ed..c6d8a2185 100644 --- a/src/components/inputs/Select.tsx +++ b/src/components/inputs/Select.tsx @@ -106,21 +106,19 @@ export const SelectDropdown = ({ > - {options - .filter((o) => o.value !== value) - .map((option) => ( - - {option.label} - - ))} + {options.map((option) => ( + + {option.label} + + ))}