devtools
devtools copied to clipboard
📋 DevTools to help debug forms.
As the title says, when a project by default imports and builds everything from ES modules, hookform's DevTool import returns the entire code even in production builds, instead of the...
**RHF Version Number** 6.15.8 **Devtools Version Number** 4.2.2 To solve all npm warnings while doing npm installs we upgraded to devtools 4.2.2 from 2.2.1. the 2.2.1 devtool version works without...
### Version Number 7.34.2 ### Codesandbox/Expo snack https://stackblitz.com/edit/react-hook-form-set-form-values-in-useeffect-m65nbe?file=package.json,App.jsx ### Steps to reproduce 1. Go to the sandbox 2. Form doesn't get filled in with initial values It works if devtools...
## Overview The problem occurs in the versions below. ``` "next": "^12.3.1" "react": "18.2.0" "react-dom": "18.2.0" ``` An easy setup for that test is to run the command below. ```shell...
### Version Number 7.49.3 ### Codesandbox/Expo snack N/A ### Steps to reproduce 1. Open devtools 2. Use complex object in form data 3. See truncated form data view ### Expected...
``` const form = useForm({ resolver: yupResolver(Yup.object(filterSchema).required()), defaultValues: filter, }); const { register, handleSubmit, reset, getValues, watch, setValue, setFocus, control, } = form; return ( ); ``` This is my...
### Version Number 7.47.0 ### Codesandbox/Expo snack https://codesandbox.io/p/sandbox/heuristic-babycat-cv9mhj?embed=1&file=%2Fsrc%2Findex.jsx%3A19%2C4 ### Steps to reproduce 1. Go to the CodeSandBox link 2. Notice the values don't get populated when the API is returned...
When DevTools are enabled, re-initializing fields by resetting them only work the second time. I created a [Code sandbox to reproduce the issue](https://codesandbox.io/s/react-hook-form-get-started-forked-692t3p?file=/src/index.js) ### Steps to reproduce 1. Create a...
### Version Number 7.47.0 ### Codesandbox/Expo snack https://stackblitz.com/edit/stackblitz-starters-z9tuex?file=src%2FApp.tsx ### Steps to reproduce 1. Go to the repro link 2. Notice the console logs of the first form 3. Type in...
This error is printing in the logs: ``` Warning: Styled(button): Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. ```...