diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-01-16 18:37:38 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-01-16 18:37:38 +0100 |
commit | 8f6de1f59e9aa8207e58e43b862c6d252f5341d3 (patch) | |
tree | 2702b5cd26550f77a156f89382fa815b1df7151f /src/main/kotlin/pl | |
parent | 9f70d8151c4c47c6ae250ec21d579ed3ba7faf14 (diff) | |
download | kvision-8f6de1f59e9aa8207e58e43b862c6d252f5341d3.tar.gz kvision-8f6de1f59e9aa8207e58e43b862c6d252f5341d3.tar.bz2 kvision-8f6de1f59e9aa8207e58e43b862c6d252f5341d3.zip |
Fix for UploadInput with empty or multiple value.
Diffstat (limited to 'src/main/kotlin/pl')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/FormControl.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/FormControl.kt b/src/main/kotlin/pl/treksoft/kvision/form/FormControl.kt index 6759fef9..3af41690 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/FormControl.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/FormControl.kt @@ -218,5 +218,5 @@ interface KFilesFormControl : FormControl { if (v == null) value = null } - override fun getValueAsString(): String? = value?.joinToString { it.name } + override fun getValueAsString(): String? = value?.joinToString(",") { it.name } } |