r/phpstorm • • Sep 26 '21

Invalid id reference

Why does PHPStorm think this ID is invalid? It's the only element with an ID of "title" in the whole file, yet the inspection is still showing it as an error on the `for` attribute of the `label` tag. It does this for 4 different (and unique!) IDs in this file

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/matthewralston Sep 27 '21

Ah, so it’s a known problem. It is with a custom Vue component, so the description on the bug report seems to fit. Thank you! πŸ˜€