react-component / react-component/field-form
咨询一下,两个setField 的方法不触发 onValuesChange,是设计如此吗
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 286
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 1
Description
现在 setFieldValue 和 setFieldsValue 都不会触发 onValuesChange,值更新了但是副作用不会触发。这样设计的初衷是什么呢
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names setFieldValue, setFieldsValue, and onValuesChange, but it does not identify a file, test, or entry point. Start by locating these APIs and their existing tests, then determine whether the callback behavior is intentional. Done would require a maintainer-confirmed behavior and corresponding documentation or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100