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

[Feature Request] formStep 组件支持强制渲染字段,在最后一步时也渲染其他步骤的字段。 #4059

Closed
1 task done
Aquarius1993 opened this issue Jan 9, 2024 · 1 comment

Comments

@Aquarius1993
Copy link

Aquarius1993 commented Jan 9, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

在使用 formStep 组件时,希望支持在最后一步提交时校验所有步骤的字段而不只是最后一步的字段。
因为太复杂的表单会有保存功能,保存的时候是不做任何校验的,提交的时候才一次性校验所有步骤里的所有字段。

What does the proposed API look like?

forceRender: boolean

@janryWang
Copy link
Collaborator

这种你可以手动调用 form.query().forEach(field=>field.validate())

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

2 participants