We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, you have to do:
checkBoxInput(classes = "form-check-input", name = "myName") { id = "myId" value = "myValue" } label(classes="myclass") { htmlFor="myId" +"Check me" }
However, a label without for attribute is not very common. It should be a parameter, so that it is much more concise to write:
label
for
label(classes = "myclass", htmlFor = "myId") { +"Check me" }
The text was updated successfully, but these errors were encountered:
Can't you just go: label (classes = "") { attributes["for"] = "myId" +"Check me" } ?
label (classes = "") { attributes["for"] = "myId" +"Check me" }
Sorry, something went wrong.
thats my first solution, but written without linebreak.
No branches or pull requests
Currently, you have to do:
However, a
label
withoutfor
attribute is not very common. It should be a parameter, so that it is much more concise to write:The text was updated successfully, but these errors were encountered: