diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-01-16 18:29:08 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-01-16 18:29:08 +0100 |
commit | d949053896fd832b4d45e1ca57de802000674767 (patch) | |
tree | 5cac71a284332f5abcbc36c59a957d9a3e9732f1 /kvision-modules/kvision-select/src | |
parent | ec61850780cac4e84826aca95a14d8010813b13a (diff) | |
download | kvision-d949053896fd832b4d45e1ca57de802000674767.tar.gz kvision-d949053896fd832b4d45e1ca57de802000674767.tar.bz2 kvision-d949053896fd832b4d45e1ca57de802000674767.zip |
Fix for multiple selection.
Diffstat (limited to 'kvision-modules/kvision-select/src')
-rw-r--r-- | kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt | 2 |
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 } |