aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-select/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-select/src/main')
-rw-r--r--kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt b/kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt
index 27cbb1f0..e89d4f5e 100644
--- a/kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt
+++ b/kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt
@@ -146,7 +146,7 @@ open class SelectInput(
@Suppress("UNCHECKED_CAST")
val arr = v as? Array<String>
if (arr != null && arr.isNotEmpty()) {
- arr.joinToString()
+ arr.filter { it.isNotEmpty() }.joinToString(",")
} else {
null
}