fix: correct input value handling in InputWithDropDown component

This commit is contained in:
2025-05-20 15:32:25 +05:30
parent 74c1562c3c
commit 6ff23e1dd9

View File

@@ -52,8 +52,8 @@ const InputWithDropDown: React.FC<InputWithDropDownProps> = ({
max={max}
step={step}
type="number"
// defaultValue={value}
value={value}
defaultValue={value}
// value={value}
onChange={(e) => {
onChange(e.target.value);
}}