We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果第一个元素是hidden字段,当调用该元素的 $input.focus()方法时,并不能够定位到该出错位置。
$input.focus()
建议采用$input[0].scrollIntoView();
$input[0].scrollIntoView();
The text was updated successfully, but these errors were encountered:
hidden字段报错 说明你的逻辑出问题了呀 这个时候打算怎么显示呢 或者说有非法字段了
Sorry, something went wrong.
自定义字段,譬如异步文件上传组件,国家地区选择组件等,等会有一个hidden input用于存值的。在校验框架中,校验的就是该hidden字段有无。
使用逻辑是正常的。不明白你说的逻辑出问题了是什么意思?
逻辑出问题了
No branches or pull requests
如果第一个元素是hidden字段,当调用该元素的
$input.focus()
方法时,并不能够定位到该出错位置。建议采用
$input[0].scrollIntoView();
The text was updated successfully, but these errors were encountered: