diff options
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/form/text')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt | 2 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt index 8467dab8..c43f94ba 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt @@ -117,7 +117,7 @@ abstract class AbstractTextInput( } } if (disabled) { - sn.add("disabled" to "true") + sn.add("disabled" to "disabled") } return sn } diff --git a/src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt index 9e6e61b0..de8bb320 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt @@ -57,7 +57,7 @@ open class RichTextInput(value: String? = null, classes: Set<String> = setOf()) } } if (disabled) { - sn.add("disabled" to "true") + sn.add("disabled" to "disabled") } return sn } |