From c0fca9901a634d53d8ee0bfb119b9b2e2f017d83 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 11 Mar 2018 23:36:01 +0100 Subject: Change the name of content property in Tag component. --- src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/pl/treksoft/kvision/form/time') diff --git a/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt b/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt index dd6f222d..ecf930e2 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt @@ -158,9 +158,9 @@ open class DateTime( * The label text bound to the input element. */ var label - get() = flabel.text + get() = flabel.content set(value) { - flabel.text = value + flabel.content = value } /** * Determines if [label] can contain HTML code. -- cgit