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] 表单校验不通过时,自动滚动到第一个错误项 #3079

Closed
Loinver opened this issue Feb 4, 2024 · 2 comments
Closed

[Form] 表单校验不通过时,自动滚动到第一个错误项 #3079

Loinver opened this issue Feb 4, 2024 · 2 comments
Assignees

Comments

@Loinver
Copy link

Loinver commented Feb 4, 2024

tdesign-vue 版本

1.9.0

重现链接

https://stackblitz.com/~/edit/eenacp

重现步骤

设置表单scrollToFirstError:'auto',当表单对象中存在子对象或子数组时,如:formData={a:'',obj:{name:''},array:[{name:''}]}。formData校验不通过时,不自动滚动。

期望结果

自动滚动

实际结果

image

框架版本

2.6.14

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

github-actions bot commented Feb 4, 2024

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

Copy link
Contributor

github-actions bot commented Feb 4, 2024

♥️ 有劳 @dellyoung @chaishi @ccccpj 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @Loinver

@Loinver Loinver closed this as completed Oct 29, 2024
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