Skip to content
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

How to set the for attribute of a form label? #5384

Closed
1 task done
zybzzc opened this issue Mar 23, 2022 · 1 comment
Closed
1 task done

How to set the for attribute of a form label? #5384

zybzzc opened this issue Mar 23, 2022 · 1 comment
Labels

Comments

@zybzzc
Copy link

zybzzc commented Mar 23, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

I know there is an htmlFor attribute, but the dom attribute it generates is html-for.
I want to set it to "" to prevent clicking on the label from triggering the click event of its child button.
like this

What does the proposed API look like?

nope

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant