Why PHPStorm 2019.3 checks JS variables in "name" attribute?
When I use the "name" attribute in the HTML element, PHPStorm tries to inspect its' value as a JS variable. This check is present in both *.html and *.blade.php file types. How can I disable it?
Please sign in to leave a comment.
I can reproduce this neither in .blade nor in .html files.
Please check if you have any custom language injections defined in Settings | Editor | Language Injections (check the ones with IDE and Project scope)
I have only IDE and Built-in injections. I've disable all IDE injections and restart PHPStorm, it still shows an error.
Can it be caused by Built-in injections?
Please select your
.htmlfile in Project tool window and hitF1(View | Quick documentation) - what docs are shown? Please share a screenshot of the quick doc popup and your idea.log (Help | Show log in Finder).Thanks, Elena! But I found the solution. It was caused by the angular library:
I've disable it, and it's solved my problem.