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

[Bug Report]在FormItem中使用Select,调用表单resetFields方法触发重置会导致表单校验出错 #38

Open
2507483326 opened this issue Oct 14, 2019 · 1 comment

Comments

@2507483326
Copy link

Environment

windows 10 / chrome 77.0.3865.120 / vue 2.6.10

Reproduction link

https://run.iviewui.com/uiOZlvQn

Steps to reproduce

  1. 选择SELECT中选项测试1
  2. 点击清空按钮
  3. 点击清空按钮

What is expected?

  1. 绑定的region属性不消失
  2. 表单重置不应该提示校验信息

What is actually happening?

  1. 绑定的region属性消失了
  2. 表单重置提示了校验信息

第一次点击清空按钮,绑定的region属性消失了
第二次点击清空按钮,绑定的region属性又被加上了

@2507483326 2507483326 changed the title [Bug Report]在FormItem中使用Select,触发重置会导致表单校验出错 [Bug Report]在FormItem中使用Select,调用表单resetFields方法触发重置会导致表单校验出错 Oct 14, 2019
@guoqiang998
Copy link

4.0后 select得resetFields好像确实有问题,重置数据后调用resetFields无效。

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