-
-
Notifications
You must be signed in to change notification settings - Fork 643
Closed
Labels
Description
Looks like controlComponents
option is no longer respected.
The following code now gives A form label must be associated with a control
warning:
/* eslint
"jsx-a11y/label-has-associated-control": [
"error", { "controlComponents": ["InputComponent"] },
],
*/
function MyComponent() {
return (
<label>
My label
<InputComponent />
</label>
);
}
Started happening after upgrade from 6.7.1 to 6.8.0.
tortilaman, cattermo, b-vb, alecmev, rakleed and 10 more