Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validateOnly 会触发 Field reRender, 是否是必要的 #728

Open
nagq opened this issue Oct 10, 2024 · 0 comments
Open

validateOnly 会触发 Field reRender, 是否是必要的 #728

nagq opened this issue Oct 10, 2024 · 0 comments

Comments

@nagq
Copy link

nagq commented Oct 10, 2024

案例 https://github.com/react-component/field-form/blob/v1.31.0/docs/examples/validateOnly.tsx

从代码执行看
image

image

表单校验触发了Field reRender,即使开启validateOnly配置

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

No branches or pull requests

1 participant