aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-11-06 12:13:52 +0100
committerRobert Jaros <rjaros@finn.pl>2017-11-06 12:13:52 +0100
commit5195caf0405eea7a6b34f60cb0a1bea3026bac3c (patch)
tree1d2852dbee080bbd00a14b78e55c9d78e372c89d /src/test
parent1c742ec958a043519e58dcf53bb3b3c92bf3e94a (diff)
downloadkvision-5195caf0405eea7a6b34f60cb0a1bea3026bac3c.tar.gz
kvision-5195caf0405eea7a6b34f60cb0a1bea3026bac3c.tar.bz2
kvision-5195caf0405eea7a6b34f60cb0a1bea3026bac3c.zip
Ajax support for Select, emptyOption support
Diffstat (limited to 'src/test')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt
index 129f74da..7034f836 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt
@@ -14,7 +14,7 @@ class SelectSpec : DomSpec {
fun render() {
run {
val root = Root("test")
- val select = Select(listOf("test1" to "Test 1", "test2" to "Test 2"), "test1", true, "Label").apply {
+ val select = Select(listOf("test1" to "Test 1", "test2" to "Test 2"), "test1", true, null, "Label").apply {
liveSearch = true
placeholder = "Choose ..."
selectWidthType = SELECTWIDTHTYPE.FIT