react-hook-form / devtools

📋 DevTools to help debug forms.
https://react-hook-form.com/dev-tools
MIT License
638 stars 48 forks source link

Display form errors in the devtool #166

Closed Avataw closed 2 years ago

Avataw commented 2 years ago

So I was debugging my application and it was not properly displaying erros as I was still fiddling with my yup schema.

In order to solve my problems I needed to manually print out my form errors etc and I thought it might be nice to just include that in the devtools? :)

My proposal is a section underneath the formstate where you can have a look at the errors :)

jsun969 commented 2 years ago

Could you provide a simple example in codesandbox or show your code to us?

Avataw commented 2 years ago

@jsun969 do you mean an example of how I would modify the current <DevTool /> component?

Or my specific problem I was having? :)

jsun969 commented 2 years ago

ye. Plz provide a minimal reproduction for your problem :P

jsun969 commented 2 years ago

Thx for reporting. We temporarily close issue this due lack of information. Please provide a minimal reproduction to reopen it.