aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)