mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind improvement /area console #### What this PR does / why we need it: 为 `Formkit` 添加自动滚动至错误的插件,当表单校验不通过时,如果错误处被隐藏,则会滚动至错误处。 #### Which issue(s) this PR fixes: Fixes #4317 #### Special notes for your reviewer: 找到表单中的必选项或其他校验项,尝试填写一个错误的选项。之后滚动表单直到隐藏当前项,此时点击提交,查看是否能够自动滚动至对应的错误项。 #### Does this PR introduce a user-facing change? ```release-note 当表单填写错误时,将会自动滚动至错误项。 ``` |
||
---|---|---|
.. | ||
auto-scroll-to-errors.ts | ||
password-prevent-autocomplete.ts | ||
radio-alt.ts | ||
required-asterisk.ts | ||
stop-implicit-submission.ts |