kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

button cannot have name attribute, when other elements can

Open lasselindqvist opened this issue 7 years ago • 0 comments

(0.6.8) For example the following produces an error since "button" cannot have attribute name when input or buttonInput can. Shouldn't name be available for buttons, too?

System.out.appendHTML().html { body { div { button(name = "buttonName") buttonInput (name="buttonInputName") input(name = "inputName") } } }

lasselindqvist avatar Dec 26 '17 17:12 lasselindqvist