diff --git a/common/src/jsMain/kotlin/dev/inmo/micro_utils/common/SelectFile.kt b/common/src/jsMain/kotlin/dev/inmo/micro_utils/common/SelectFile.kt index bd85f4de52b..c1b3a7c716c 100644 --- a/common/src/jsMain/kotlin/dev/inmo/micro_utils/common/SelectFile.kt +++ b/common/src/jsMain/kotlin/dev/inmo/micro_utils/common/SelectFile.kt @@ -13,6 +13,7 @@ fun selectFile( ) { (document.createElement("input") { (this as HTMLInputElement).apply { + type = "file" inputSetup(this) onchange = { runCatching {