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