aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-datetime
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-07-09 20:08:05 +0200
committerRobert Jaros <rjaros@finn.pl>2019-07-09 20:08:05 +0200
commitd1612a42ec508f3ef0f61163d181e01931b9157c (patch)
treee2f8da4c115c156a01caa9aa7c419a0084cba047 /kvision-modules/kvision-datetime
parentd0ea8ade727c756aab6c878773fb2873ec41cd23 (diff)
downloadkvision-d1612a42ec508f3ef0f61163d181e01931b9157c.tar.gz
kvision-d1612a42ec508f3ef0f61163d181e01931b9157c.tar.bz2
kvision-d1612a42ec508f3ef0f61163d181e01931b9157c.zip
New DOM bindings. Drop horrible "strictDOM" property.
Diffstat (limited to 'kvision-modules/kvision-datetime')
-rw-r--r--kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt2
1 files changed, 0 insertions, 2 deletions
diff --git a/kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt b/kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt
index 5858d04b..8de8d088 100644
--- a/kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt
+++ b/kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt
@@ -54,7 +54,6 @@ open class DateTimeInput(
private var initialized = false
init {
- this.vnkey = "kv_datetimeinput_${counter++}"
this.setInternalEventListener<DateTimeInput> {
change = {
self.changeValue()
@@ -294,7 +293,6 @@ open class DateTimeInput(
}
companion object {
- internal var counter = 0
private fun String.toDatePickerFormat(): String {
return this.replace("YY", "yy").replace("m", "i").replace("MMMM", "{----}").replace("MMM", "{---}")