We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
label-has-associated-control
1 parent 9957219 commit 4a0608bCopy full SHA for 4a0608b
docs/rules/label-has-associated-control.md
@@ -30,7 +30,7 @@ In this case, use `htmlFor` and an ID to associate the controls.
30
31
```jsx
32
<label htmlFor={domId}>Surname</label>
33
-<input type="text" id="domId" />
+<input type="text" id={domId} />
34
```
35
36
### Case: My label and input components are custom components.
0 commit comments