-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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中 使用v-if渲染的form-item 在不渲染的时候也进行了必填验证?? #367
Labels
Comments
https://codesandbox.io/s/q7o52l8x86 |
升级到1.2.4 |
抱歉回复晚了 , |
重新安装依赖也可解决问题, 升级底层依赖vue-ref |
1 task
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
1.1.1
Environment
vue 2.9.6 Chrome/71.0.3578.98
Reproduction link
Steps to reproduce
在form中 使用v-if对不同的form-item进行渲染 选择其中一个值渲染出表单后 再选另一个值渲染对应的表单 结果前值的表单的必填项也跟着被验证了
例如重现例子中 我选了1 再选2 结果1中的必填表单也被验证了
What is expected?
根据当前的 v-if 验证 对应的必填项(在选择过后)
What is actually happening?
全部都给验证了
重现链接里的 ant-design-vue 加载不出来?
The text was updated successfully, but these errors were encountered: