We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
ProForm
Antd Form 可以通过 ref 获取到 form 元素的 nativeElement。来自于 rc-field-form。 ProForm 没有提供 API 或 ref 可以获取 nativeElement。
需要对表单内部做处理时需要。尤其是页面上存在多个表单,submit时只对当前表单做处理。 目前是在 ProForm 外层增加了一个div,通过div来处理。如果可以提供 nativeElement,则不需要额外增加 div。
通过 ref 或其他 API
无
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🔩 所属模块或组件
ProForm
🥰 需求描述
Antd Form 可以通过 ref 获取到 form 元素的 nativeElement。来自于 rc-field-form。
ProForm 没有提供 API 或 ref 可以获取 nativeElement。
⛰ 功能需求适用场景
需要对表单内部做处理时需要。尤其是页面上存在多个表单,submit时只对当前表单做处理。
目前是在 ProForm 外层增加了一个div,通过div来处理。如果可以提供 nativeElement,则不需要额外增加 div。
🧐 解决方案
通过 ref 或其他 API
🚑 其他信息
无
The text was updated successfully, but these errors were encountered: