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] 表单校验不通过时,不滚动到指定位置且报错。 #3247

Closed
Loinver opened this issue Jul 26, 2024 · 3 comments
Closed
Labels
🐞 bug Something isn't working

Comments

@Loinver
Copy link

Loinver commented Jul 26, 2024

tdesign-vue 版本

1.9.8

重现链接

https://stackblitz.com/edit/mymvow?file=src%2Fdemo.vue

重现步骤

scrollToFirstError设置为true时,且表单内包含数组类数据时,提交校验时报错。

期望结果

能正常滚动到错误位置

实际结果

image

框架版本

2.6.14

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

修改querySelector方法为getElementsByClassName就可以

Copy link
Contributor

👋 @Loinver,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@uyarn uyarn added the 🐞 bug Something isn't working label Jul 29, 2024
@morningbao
Copy link
Contributor

认领

@uyarn
Copy link
Collaborator

uyarn commented Aug 15, 2024

fixed 1.9.9

@uyarn uyarn closed this as completed Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants