tipsy / j2html

Java to HTML generator. Enjoy typesafe HTML generation.
https://j2html.com/
Apache License 2.0
765 stars 137 forks source link

The "accept-charset" attribute is missing from FormTag #203

Open ritzow opened 2 years ago

ritzow commented 2 years ago

Not super important. Are attribute methods with dashes not generated?

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-accept-charset

sembler commented 2 years ago

In this case no, a method for accept-charset is not generated. We can look at supporting this in the future. For now you'll just need to use Tag.attr(String attribute, Object value) to set this attribute on the form.