-
Notifications
You must be signed in to change notification settings - Fork 262
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
Form表单 Form.Item加上传组件,会触发表单提交事件 #2186
Comments
根据调试检查发行上传组件会渲染一个button的HTML标签,但是button按钮上没有加 |
This was referenced Apr 22, 2024
+1 |
官方的组件演示都是会触发提交事件的。 46_1716342697.mp4点击form控件中的uploader就会触发表单提交事件中的toast |
2.6.8 版本已经修复了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NutUI React 包名
@nutui/nutui-react-taro
NutUI React 版本号
2.6.1
平台
h5
重现链接
https://gitee.com/jiankian/AnnTaroNutUI-Test
重现步骤
期望的结果是什么?
表单中加Uploader组件不触发表单的提交事件onFinish事件
实际的结果是什么?
在小程序中是正常的,但是在H5环境中,我只是点击上传组件选择文件,结果表单的onFinish事件就触发了,主要原因是表单上传按钮在H5中渲染成Button按钮,点击就产生表单提交事件。
环境信息
其他补充信息
No response
The text was updated successfully, but these errors were encountered: