Situation:
I have a page that contains a <iframe>
of another, on this other page, I have a simple HTML element input
:
<input type="text" required="" pattern="[a-Z]{2,35}" tabindex="6" name="edtCidade" id="edtCidade">
I'm pretty sure I made sure there is no event type assigned to it or code by changing its properties.
However, every time I type, any key can be a number, it can be a letter, anything, every time I type it generates this error in the console:
SyntaxError: invalid range in character class
Example:
If I type "az123" I will have 5 errors of SyntaxError
in the console of my browser.
Important:
This error does not cause me any problem, it is insignificant but it is bothering me, and I would like to know the source of it.
Question:
How to resolve this error? Why is it caused? I would like a detailed explanation.