aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap-datetime/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-04-25 14:13:44 +0200
committerRobert Jaros <rjaros@finn.pl>2020-04-25 14:13:44 +0200
commit3e37c74c9eed21f5d1139f069a95ef464bf6b371 (patch)
tree2fc0971d785c9242e8c67f366efe61f611bcc663 /kvision-modules/kvision-bootstrap-datetime/src
parent25c90120d344745fd37ad7aebe3bab9ae497574d (diff)
downloadkvision-3e37c74c9eed21f5d1139f069a95ef464bf6b371.tar.gz
kvision-3e37c74c9eed21f5d1139f069a95ef464bf6b371.tar.bz2
kvision-3e37c74c9eed21f5d1139f069a95ef464bf6b371.zip
Fix label for DateTime component.
Diffstat (limited to 'kvision-modules/kvision-bootstrap-datetime/src')
-rw-r--r--kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt2
1 files changed, 1 insertions, 1 deletions
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)