From 3e37c74c9eed21f5d1139f069a95ef464bf6b371 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 25 Apr 2020 14:13:44 +0200 Subject: Fix label for DateTime component. --- .../src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision') diff --git a/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt b/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt index 6d687bb9..aa3e77b2 100644 --- a/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt +++ b/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt @@ -193,7 +193,7 @@ open class DateTime( private val idc = "kv_form_time_$counter" final override val input: DateTimeInput = DateTimeInput(value, format).apply { - this.id = idc + this.input.id = idc this.name = name } final override val flabel: FieldLabel = FieldLabel(idc, label, rich) -- cgit