Mirror of
forum.nim-lang.org
index
6591 :: How to deal with unsupported attributes in htmlgen?
[2020-07-25T17:42:27+02:00]
View Orginal
jasonfi
(orginal)
[2020-07-25T17:42:27+02:00]
view original
How do I deal with missing attributes in htmlgen? For example I want to add the autofocus attribute to an input control, but I get this error:
htmlgen.nim(106, 14) Error: element input cannot be nested
jasonfi
(orginal)
[2020-07-25T17:51:14+02:00]
view original
To answer my own question, this works:
... autofocus =
"
"
)