From d1612a42ec508f3ef0f61163d181e01931b9157c Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 9 Jul 2019 20:08:05 +0200 Subject: New DOM bindings. Drop horrible "strictDOM" property. --- .../src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'kvision-modules/kvision-upload/src/main/kotlin/pl') diff --git a/kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt b/kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt index 39c4c4c6..21073e61 100644 --- a/kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt +++ b/kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt @@ -138,10 +138,6 @@ open class UploadInput(uploadUrl: String? = null, multiple: Boolean = false, cla private val nativeFiles: MutableMap = mutableMapOf() - init { - this.vnkey = "kv_uploadinput_${counter++}" - } - override fun render(): VNode { return render("input") } @@ -316,7 +312,6 @@ open class UploadInput(uploadUrl: String? = null, multiple: Boolean = false, cla } companion object { - internal var counter = 0 /** * DSL builder extension function. -- cgit