checkValidity() method only associated with HTMLSelectElement in code inspection
The checkValidity() method is defined for all form related DOM interfaces. Unfortunately the code inspection defintions in the JavaScriptLanguage plugin only have it defined for HTMLSelectElement, so it shows unresolved function/method errors when I use HTMLInputElement in my JSDocs.
Is there an way this could be changed for future releases, and in the meantime is there any way I can set a custom definition without modifying anything in JavaScriptLanguage.jar?
Please sign in to leave a comment.
Should also mention this issue also affects all form elements' validity states.
You can report this the way similar to https://youtrack.jetbrains.com/issue/WEB-24290 & https://youtrack.jetbrains.com/issue/WEB-12094