ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.64k stars 2.4k forks source link

表单校验不通过 滚动条自动滚动到未通过校验位置 #6422

Open FengHuangDong opened 11 months ago

FengHuangDong commented 11 months ago

Version of antd-mobile

No response

What is this feature about?

能不能添加一个像ant design的Form组件一样scrollToFirstError 和 scrollToField的props用于控制表单的校验失败,设置滚动位置