-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
label-has-for does not handle binding for attribute #119
Comments
Sorry to point this out when it's not the point of the issue, but an It seems there might be a problem around this lines. Could you send a reproduction link? with the correct versions and stuff? |
Actually, this might be a problem with your configuration of the rule, could you send here what the configuration it is that you are using? |
This is all I'm doing, not adding any custom rules
|
Yeah, after my first comment I remembered that the default config for {
"rules": {
"vuejs-accessibility/label-has-for": ["error", {
"required": {
"some": ["nesting", "id"]
}
}]
}
} https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility/blob/master/docs/label-has-for.md The |
thinking about it, the name |
This worked for me, thanks for your help. |
Thanks @vhoyer! |
no problems :D But just to keep track of the problem, this can be considered related to #54 |
Had the same "issue" today. |
Just simply by extending, and then reconfiguring the rule under the "rules" property of the configuration you are already using all of the recommended and customizing only what you want |
This is what I did, did not update my message. Thanks. |
When using attribute binding to associate the for attribute the plugin does not detect rasies the label-has-for error
This use case is typical when creating enterprise component libraries.
Below is an example of a textbox where the id is being passed as a prop:
Would it be possible to handle this?
Thanks
Bert
The text was updated successfully, but these errors were encountered: