react-component / react-component/field-form

咨询一下,两个setField 的方法不触发 onValuesChange,是设计如此吗

Open
#654 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.