Wyczyść pole wejściowe reakt-hook-form
const InputForm = () => {
const { register, handleSubmit, reset } = useForm();
const onSubmit = (data) => {
//...
reset();
};
tinydev