darklang / rescript-tea

The Elm Architecture for Rescript
Other
119 stars 9 forks source link

Spellcheck attribute is broken #12

Closed pbiggar closed 2 years ago

pbiggar commented 2 years ago

It should be a property, and if false it should still be set. This works for me:

let spellcheck = (b: bool) => Vdom.attribute("", "spellcheck", string_of_bool(b))
pbiggar commented 2 years ago

Fixed in #18