Closed nick-y-ito closed 8 months ago
Currently, the NumberInput is defined as an FC (functional component). However, FC does not accept ref as a prop, and it causes an error when using react-hook-form. So, the task of this issue is to update the NumberInput component with forwardRef.
NumberInput
ref
react-hook-form
forwardRef
-
Description
Currently, the
NumberInput
is defined as an FC (functional component). However, FC does not acceptref
as a prop, and it causes an error when usingreact-hook-form
. So, the task of this issue is to update theNumberInput
component withforwardRef
.Notes
-