fix: correct input value handling in InputWithDropDown component
This commit is contained in:
@@ -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);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user