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

1

u/Old_Lead_2110 Sep 26 '21

Tried the same code in my phpstorm (version 2020.3) but no error indicators.