diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-04-25 14:13:44 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-04-25 14:13:44 +0200 |
commit | 3e37c74c9eed21f5d1139f069a95ef464bf6b371 (patch) | |
tree | 2fc0971d785c9242e8c67f366efe61f611bcc663 | |
parent | 25c90120d344745fd37ad7aebe3bab9ae497574d (diff) | |
download | kvision-3e37c74c9eed21f5d1139f069a95ef464bf6b371.tar.gz kvision-3e37c74c9eed21f5d1139f069a95ef464bf6b371.tar.bz2 kvision-3e37c74c9eed21f5d1139f069a95ef464bf6b371.zip |
Fix label for DateTime component.
-rw-r--r-- | kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTime.kt | 2 |
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) |