Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

react-hook-form/devtools

Repository files navigation

Performant, flexible and extensible forms with easy to use validation.

Goal

This React Component will help you to debug forms when working React Hook Form, and give you more insight about your form's detail.

Install

$ npm install @hookform/devtools -D

Quickstart

import React from 'react';
import { useForm } from 'react-hook-form';
import { DevTool } from '@hookform/devtools';
import './App.css';
const App = () => {
 const { register, control, handleSubmit } = useForm({
 mode: 'onChange',
 });
 return (
 <>
 <DevTool control={control} placement="top-left" />
 <form onSubmit={handleSubmit((d) => console.log(d))}>
 <h1>React Hook Form DevTools</h1>
 <label>Test</label>
 <input name="test" ref={register} />
 <input type="submit" />
 </form>
 </>
 );
};
export default App;

Backers

Thanks goes to all our backers! [Become a backer].

Organizations

Thanks goes to these wonderful organizations! [Contribute].

Contributors

Thanks goes to these wonderful people! [Become a contributor].

About

πŸ“‹ DevTools to help debug forms.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 30

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /