diff --git a/components/Input/index.tsx b/components/Input/index.tsx index 6a62dab4..5338f97b 100644 --- a/components/Input/index.tsx +++ b/components/Input/index.tsx @@ -25,7 +25,7 @@ const Input = React.forwardRef(function input( // Change value when prop updates useEffect(() => { - setInputValue(`${props.value}`) + if (props.value) setInputValue(`${props.value}`) }, [props.value]) function handleChange(event: React.ChangeEvent) {