Reactjs – React-Hook-Form and validating
Background I want to make a Number Input. This custom input accept only number and has character length limitation. Will be used with react-hook-form. import React, { useEffect, useState } from "react"; type NumberInputProps = { _maxLength?: number; name: string;…