An invalid form control with name=” is not focusable?

Are you getting An invalid form control with name=” is not focusable¬†message on your browser’s console log? Don’t be worried about this problem. Here is the quick fix for this issue.

First of all why it’s happened? It’s happened when you have some hidden fields with required true and these fields have no parent ‘form‘ element. In that case, this error might happen. Especially when you work on Jquery, AngularJS.

To fixed this issue you can just add ‘novalidate’ in your opening ‘form ‘ tag. Just like that <form action” novalidate>