From 2072d1b9c1b9d4f515cc1759b12ca19db7106d82 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 3 Sep 2017 03:34:26 +0200 Subject: DropDown attributes --- src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/pl/treksoft') diff --git a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt index 7176f725..c0a87297 100644 --- a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt +++ b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt @@ -23,7 +23,7 @@ open class DropDown(text: String, elements: List, icon: String? = nu when (it.second) { DD.HEADER.POS -> Tag(TAG.LI, it.first, classes = setOf("dropdown-header")) DD.SEPARATOR.POS -> { - val tag = Tag(TAG.LI, classes = setOf("divider")) + val tag = Tag(TAG.LI, it.first, classes = setOf("divider")) tag.role = "separator" tag } -- cgit