From 5418d3bc4191b98a39bcef0b4b1eafad7d3da82c Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 24 Apr 2020 19:55:12 +0200 Subject: Allow accessing the TextInput component in the DateTimeInput control. --- .../src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvision-modules/kvision-bootstrap-datetime/src/main/kotlin') diff --git a/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt b/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt index 813059e8..daeda692 100644 --- a/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt +++ b/kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt @@ -56,7 +56,7 @@ open class DateTimeInput( private var initialized = false - internal val input = TextInput(value = value?.toStringF(format)) + val input = TextInput(value = value?.toStringF(format)) private lateinit var icon: Icon private val addon = Div(classes = setOf("input-group-append")) { span(classes = setOf("input-group-text", "datepickerbutton")) { -- cgit