From 4c844089fe6e6c41a0b71a5959c126f870d6874e Mon Sep 17 00:00:00 2001 From: SteakFisher Date: Tue, 11 Jun 2024 21:53:25 +0400 Subject: [PATCH] dropdown now uses id instead of value --- src/components/form-display/DropdownComponent.tsx | 6 +++++- src/functions/validations.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/form-display/DropdownComponent.tsx b/src/components/form-display/DropdownComponent.tsx index b8a2017..f7ec442 100644 --- a/src/components/form-display/DropdownComponent.tsx +++ b/src/components/form-display/DropdownComponent.tsx @@ -30,7 +30,11 @@ export default function DropdownComponent({ item, id } : { id: string; item: For