Tencent / Tencent/tdesign-react

[Form] form 有没有dirtyFields 的功能? 需要依赖他判断表单是否有过修改

Open
#2,327 2 comments 0 reactions 1 assignee View on GitHub

@honkinglin is already working on this.

Since Jun 26, 2023.

💪🏻 enhancement
Dominant language
TypeScript
Stars
965
Forks
373
Avg merge
3d 6h
Merged PRs (30d)
17

Description

这个功能解决了什么问题

form 有没有dirtyFields 的功能? 需要依赖他判断表单是否有过修改。 在一些用户填写场景下, 我们需要通过判断 是否有修改来做自动保存和离开页面时提示用户是否保留现在是修改。

你建议的方案是什么

希望能提供这个功能

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.