I'm trying to set a type
attribute for input:
input [ type "checkbox" ] []
But I get an error:
It looks like the keyword `type` is being used as a variable. input [ type "checkbox" ] [] ^ Rename it to something else.
When I try to use
input [ type' "checkbox" ] []
I get this error:
Ran into a single quote in a variable name. This was removed in 0.18! input [ type' "checkbox" ] [] ^ Change it to a number or an underscore, like type_ or type1 Or better yet, choose a more descriptive name!
And if I try
input [ type_ "checkbox" ] []
I get another error:
Cannot find variable `type_` input [ type_ "checkbox" ] [] ^^^^^
So how could I finally set this attribute?