Skip to content

Conversation

@kiner-tang
Copy link
Contributor

@kiner-tang kiner-tang commented Apr 24, 2023

之前我们是根据 validatePromise 是否为 null 来判断是否触发过校验的,但我们之前漏了重置的时候,把 validatePromise 设置为 undefined 了,导致重置后依然是 null, 所以导致点击重置之后校验的状态一直还保留着。
image

@vercel
Copy link

vercel bot commented Apr 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
field-form ❌ Failed (Inspect) Apr 24, 2023 1:24pm

@codecov
Copy link

codecov bot commented Apr 24, 2023

Codecov Report

Merging #585 (dc4fe86) into master (c2a6427) will not change coverage.
The diff coverage is 100.00%.

❗ Current head dc4fe86 differs from pull request most recent head 2a8c5b7. Consider uploading reports for the commit 2a8c5b7 to get more accurate results

@@           Coverage Diff           @@
##           master     #585   +/-   ##
=======================================
  Coverage   99.82%   99.82%           
=======================================
  Files          16       16           
  Lines        1143     1143           
  Branches      257      257           
=======================================
  Hits         1141     1141           
  Misses          2        2           
Impacted Files Coverage Δ
src/Field.tsx 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zombieJ zombieJ merged commit b701987 into react-component:master Apr 24, 2023
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.

antd Form 调用resetFields后hasFeedback的图标并没有重置

2 participants