Closed trex closed 4 years ago
I am trying to correct some linting issues on <label />
s unsuccessfully. I see the following error when running the linter: "A form label must be associated with a control", you can see this on the <label />
s for src/components/Register.js
.
@gallickc any idea why the <label />
s are not seen as being related to the <input />
s?
@noahjb might be able to provide more help than I can. The linting commit was made from my computer, but he was the brains behind it. Noah - any idea what's goin on?
I am trying to correct some linting issues on
<label />
s unsuccessfully. I see the following error when running the linter: "A form label must be associated with a control", you can see this on the<label />
s forsrc/components/Register.js
.@gallickc any idea why the
<label />
s are not seen as being related to the<input />
s?
@trex - from this page, it looks like the <input>
needs to be nested inside the <label> </label>
tags.
This is the frontend updates for user registration, login, and logout.