-
-
Notifications
You must be signed in to change notification settings - Fork 23
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 can be an attribute as well #168
Comments
Hi @Hendrikto, thank you for the issue! D'oh, I thought I had found them all. Damn. The If you need it in the meantime, you can always use |
See also #170 . |
markuswustenberg
added a commit
that referenced
this issue
Jun 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In addition to the
label
element, there is also thelabel
attribute (e.g. on theoption
element).Gomponents currently only supports the element, not the attribute. I think this should be changed.
It could be handled the same way
data
,form
,style
, andtitle
are, by splitting it intoLabelEl
andLabelAttr
. The only problem I see is that this would break existing code.What do you think, Markus?
The text was updated successfully, but these errors were encountered: