From 6ff23e1dd90f2d299581fce07919ac867278a6f8 Mon Sep 17 00:00:00 2001 From: Vishnu Date: Tue, 20 May 2025 15:32:25 +0530 Subject: [PATCH] fix: correct input value handling in InputWithDropDown component --- app/src/components/ui/inputs/InputWithDropDown.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/components/ui/inputs/InputWithDropDown.tsx b/app/src/components/ui/inputs/InputWithDropDown.tsx index c6316d6..f749af7 100644 --- a/app/src/components/ui/inputs/InputWithDropDown.tsx +++ b/app/src/components/ui/inputs/InputWithDropDown.tsx @@ -52,8 +52,8 @@ const InputWithDropDown: React.FC = ({ max={max} step={step} type="number" - // defaultValue={value} - value={value} + defaultValue={value} + // value={value} onChange={(e) => { onChange(e.target.value); }}