diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-24 15:56:10 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-24 15:56:10 +0100 |
commit | 1fc045c97511d8c888af3ac441c27bfb7a35ef43 (patch) | |
tree | e8bf433734bd60a73301ea8f1109ed74bca74197 /src/main/kotlin/pl/treksoft/kvision/form/check | |
parent | 852eb4b2d0df2475f45642534bbe1d9d2352aa61 (diff) | |
download | kvision-1fc045c97511d8c888af3ac441c27bfb7a35ef43.tar.gz kvision-1fc045c97511d8c888af3ac441c27bfb7a35ef43.tar.bz2 kvision-1fc045c97511d8c888af3ac441c27bfb7a35ef43.zip |
Snabbdom upgrade to v0.7.1
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/form/check')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/check/CheckInput.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/check/CheckInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/check/CheckInput.kt index 7c67c957..9e0c1fa9 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/check/CheckInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/check/CheckInput.kt @@ -111,13 +111,13 @@ open class CheckInput( val sn = super.getSnAttrs().toMutableList() sn.add("type" to type.type) if (startValue) { - sn.add("checked" to "true") + sn.add("checked" to "checked") } name?.let { sn.add("name" to it) } if (disabled) { - sn.add("disabled" to "true") + sn.add("disabled" to "disabled") } extraValue?.let { sn.add("value" to it) |