diff options
author | Robert Jaros <rjaros@finn.pl> | 2017-09-03 03:34:26 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2017-09-03 03:34:26 +0200 |
commit | 2072d1b9c1b9d4f515cc1759b12ca19db7106d82 (patch) | |
tree | 8c5ce16b9802d39ea99ee5f7f31f3198201344e2 /src/main/kotlin/pl/treksoft | |
parent | 70bc6412e0b54119d3f0b6a82c1def78a9088d16 (diff) | |
download | kvision-2072d1b9c1b9d4f515cc1759b12ca19db7106d82.tar.gz kvision-2072d1b9c1b9d4f515cc1759b12ca19db7106d82.tar.bz2 kvision-2072d1b9c1b9d4f515cc1759b12ca19db7106d82.zip |
DropDown attributes
Diffstat (limited to 'src/main/kotlin/pl/treksoft')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<StringPair>, 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 } |