aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap-datetime
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-04-24 19:55:12 +0200
committerRobert Jaros <rjaros@finn.pl>2020-04-24 19:55:12 +0200
commit5418d3bc4191b98a39bcef0b4b1eafad7d3da82c (patch)
tree05e77be6f49837bd7ac11908cce56f2885a97e25 /kvision-modules/kvision-bootstrap-datetime
parent829b1e6b7c5eb1a47d1c0e599a6030bfca1467fc (diff)
downloadkvision-5418d3bc4191b98a39bcef0b4b1eafad7d3da82c.tar.gz
kvision-5418d3bc4191b98a39bcef0b4b1eafad7d3da82c.tar.bz2
kvision-5418d3bc4191b98a39bcef0b4b1eafad7d3da82c.zip
Allow accessing the TextInput component in the DateTimeInput control.
Diffstat (limited to 'kvision-modules/kvision-bootstrap-datetime')
-rw-r--r--kvision-modules/kvision-bootstrap-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt2
1 files changed, 1 insertions, 1 deletions
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")) {