diff options
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) |