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

form的resetFields不支持传空 #416

Closed
1 task
guoqiangui opened this issue Apr 25, 2023 · 1 comment
Closed
1 task

form的resetFields不支持传空 #416

guoqiangui opened this issue Apr 25, 2023 · 1 comment
Labels

Comments

@guoqiangui
Copy link

  • 我已经搜索过相关 issues ,确定这个问题没有人提过。

重现链接

重现步骤

不传参调用form的resetFields()

期望的结果是什么?

可以重置表单内所有控件

实际的结果是什么?

表单内所有控件无变化

环境 版本
Wux v3.10.0
微信小程序基础库 2.25.3
系统 win11

见下图,源码地址,判断ns的时候,应该先判断是否为空,再判断是否为数组
image

@skyvow skyvow added the bug label Jul 13, 2023
@skyvow skyvow closed this as completed in 560b7bb Jul 13, 2023
@skyvow
Copy link
Member

skyvow commented Jul 13, 2023

@guoqiangui v3.10.1版本已支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants