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} max={max}
step={step} step={step}
type="number" type="number"
// defaultValue={value} defaultValue={value}
value={value} // value={value}
onChange={(e) => { onChange={(e) => {
onChange(e.target.value); onChange(e.target.value);
}} }}