React hook form + DevTool + reset causes from to not register fields correctly
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
調査の方向性
Open the linked StackBlitz and inspect package.json and App.jsx. Reproduce the async reset with react-hook-form 7.34.2, then compare the behavior when DevTool is removed and when the version is downgraded to 7.15. Done means identifying whether DevTool or react-hook-form causes the fields and values to display correctly after reset.
索引モデルが issue の本文から書いたものです。
説明
Version Number
7.34.2
Codesandbox/Expo snack
Steps to reproduce
- Go to the sandbox
- Form doesn't get filled in with initial values
It works if devtools is removed from the component. It also works if form version is downgraded to 7.15.
It used to work fine on version 7.15. I didn't try other versions to find out which one broke it. I'm also not sure if it's a bug on @hookform/devtools or on react-hook-form.
Expected behaviour
Form gets reset to async values and fields register correctly. Dev tools display fields with values.
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要言語
- TypeScript
- スター
- 670
- フォーク
- 55
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react-hook-form/devtools のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
react-hook-form/devtools#234 · コメント 1 件 · リアクション 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
react-hook-form/devtools#226 · リアクション 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
react-hook-form/devtools#223 · リアクション 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
react-hook-form/devtools#212 · コメント 5 件 · リアクション 8 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
react-hook-form/devtools#208 · コメント 13 件 · リアクション 21 件 ·
react-hook-form/devtools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
copse-dev/agent-pane#2953 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·