Skip to content

Conversation

@wangzishun
Copy link
Contributor

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Test Case
  • TypeScript definition update
  • Document improve
  • CI/CD improve
  • Branch sync
  • Other, please describe:

PR description

Fixes # 遍历内部的fields过程中,先判断传入的_values中是否存在当前field,不存在则不需要更新

Changelog

🇨🇳 Chinese

  • Fix: 修复form.setValues时意外的重置了其他字段

🇺🇸 English

  • Fix: fix the form.setValues api unexcepted reset other fileds value

Checklist

  • Test or no need
  • Document or no need
  • Changelog or no need

Other

  • Skip Changelog

Additional information

FormApi.setValues 行为与文档不符

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit cc51a51:

Sandbox Source
pr-story Configuration
Semi Design: Simple Story Configuration

@xmsz-stu
Copy link

为啥还没合并

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants