issue: useForm with values parameter doesn't work with hook Devtools
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
調査の方向性
Start with the linked CodeSandbox reproduction and compare the form behavior with and without the hook DevTools enabled. Verify the useForm values parameter after the API query completes; done means the returned values populate the inputs while DevTools remains enabled.
索引モデルが issue の本文から書いたものです。
説明
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
- Go to the CodeSandBox link
- Notice the values don't get populated when the API is returned
- But if you comment out hook forms DevTool then the input will be populated with the correct API return value
Expected behaviour
Values parameter from useForm should update the form values once the query has been completed.
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
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 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
danielmiessler/LifeOS#2218 ·