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] 表单submit事件中的firstError不正确 #382

Closed
Alan19910720 opened this issue Mar 1, 2022 · 1 comment
Closed

[form] 表单submit事件中的firstError不正确 #382

Alan19910720 opened this issue Mar 1, 2022 · 1 comment
Labels
🐞 bug Something isn't working to be published to be published

Comments

@Alan19910720
Copy link

重现链接

https://codesandbox.io/s/admiring-swirles-196106?file=/src/components/TestForm.vue

重现步骤

1、进入表单页面
2、在输入框随便输入字符
3、点击提交按钮
4、打开控制台(console),查看firstError是否正确

期望结果

firstError应该根据实际输入情况展示对应rule的message

实际结果

始终展示第一个rule的message

Environment Info
相关版本 0.9.2
框架版本 / 基础库版本 Vue(3.2.29)
系统、浏览器 MacOS(10.15.7)
Node版本 node-16.14.0
@PengYYYYY PengYYYYY added the 🐞 bug Something isn't working label Mar 3, 2022
@PengYYYYY PengYYYYY mentioned this issue Mar 4, 2022
5 tasks
@PengYYYYY PengYYYYY added the to be published to be published label Mar 4, 2022
@PengYYYYY
Copy link
Collaborator

0.9.3 已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published to be published
Projects
None yet
Development

No branches or pull requests

2 participants