fix: undefined
This commit is contained in:
parent
dec1692366
commit
16d512234f
|
@ -52,7 +52,7 @@ const Number = ({
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
step={step}
|
step={step}
|
||||||
type="number"
|
type="number"
|
||||||
value={value}
|
value={'undefined' === typeof value ? '' : value}
|
||||||
/>
|
/>
|
||||||
<div className="number__controls">
|
<div className="number__controls">
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Reference in New Issue
Block a user