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?

0
4 comments

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)

0
Avatar
Permanently deleted user

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?

0

Please select your .html file in Project tool window and hit F1 (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).

0
Avatar
Permanently deleted user

Thanks, Elena! But I found the solution. It was caused by the angular library:
I've disable it, and it's solved my problem.

1

Please sign in to leave a comment.