dirtyFields will not update after reset when using devtools
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
调研方向
Start with the linked CodeSandbox reproduction at src/index.jsx and reproduce the sequence of typing, reset, and typing again. Inspect how the devtools observes form state; done means dirtyFields updates after reset while value continues to update, including the reported resetField and DevTools-removal cases.
由索引模型根据 Issue 内容生成。
描述
Codesandbox link
https://codesandbox.io/s/react-hook-form-v6-formstate-forked-4qlr7d?file=/src/index.jsx
Reproduce
- type some characters in input box
- click reset button
- type in input box
- after above, you can see dirtyFields will not update. In devtools plane, only value field still update
Addition
- if you delete characters which type in step3, the dirtyFields will work on normal
- if you use resetField button or remove Devtool, the dirtyFields will work on normal
- 主要语言
- TypeScript
- 星标
- 670
- 派生
- 55
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-hook-form/devtools 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
react-hook-form/devtools#234 · 1 条评论 · 6 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
react-hook-form/devtools#226 · 3 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 55/100
react-hook-form/devtools#223 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 25/100
react-hook-form/devtools#212 · 5 条评论 · 8 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 45/100
react-hook-form/devtools#208 · 13 条评论 · 21 个 reaction ·
查看 react-hook-form/devtools 的全部 Issue
相似的 Issue
-
bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 78/100
sleeyax/paseo-plugins#112 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
rossoctl/serverless-harness#428 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
typesense/typesense-js#376 ·
-
ready sonnet zone:app
难度 2/5 1-3 小时 新手友好度 92/100
wheresrhys/totf#1103 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
prime-radiant-inc/evener#3726 ·
维护者通常 1 天内回复