Kotlin / kotlinx.html

Kotlin DSL for HTML
Apache License 2.0
1.63k stars 133 forks source link

Problem with checkboxes in kotlin-react caused by kotlinx.html #110

Open TorRanfelt opened 5 years ago

TorRanfelt commented 5 years ago

Apparently kotlinx.html currently doesn't allow JetBrain's react-wrapper to function properly https://github.com/JetBrains/kotlin-wrappers/issues/35

jschneider commented 2 years ago

This seems to be related to the "checked" property.

This code throws an exception:

    input(type = InputType.checkBox) {
      attrs {
        checked = true
        println("checked: $checked")
      }
    }

I assume the "checked" property does not yet exist