📌  相关文章
📜  带有 ... 的无效表单控件不可聚焦. - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:38.695000             🧑  作者: Mango

代码示例1
Just because a form control is hidden doesn't mean it isn't required. And since
it is required, but hidden the browser can't focus the form control.

Every place you have .hide() change it to .hide().prop('required',false) to fix 
your problem.