aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-05-14 19:42:40 +0200
committerRobert Jaros <rjaros@finn.pl>2020-05-14 19:42:40 +0200
commit07822bb3820629d86af637a05d656f9fb0a15a9f (patch)
treed483ad119e3b2748335740b38e7d0f998d49aa3d /kvision-modules/kvision-bootstrap
parentabc4258620bacec9771ddd7d0d75f5a7e94e989c (diff)
downloadkvision-07822bb3820629d86af637a05d656f9fb0a15a9f.tar.gz
kvision-07822bb3820629d86af637a05d656f9fb0a15a9f.tar.bz2
kvision-07822bb3820629d86af637a05d656f9fb0a15a9f.zip
Make Button component a container.
Diffstat (limited to 'kvision-modules/kvision-bootstrap')
-rw-r--r--kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
index ed9a917c..f016126c 100644
--- a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
+++ b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
@@ -381,7 +381,7 @@ internal class DropDownButton(
val forDropDown: Boolean = false,
classes: Set<String> = setOf()
) :
- Button(text, icon, style, ButtonType.BUTTON, disabled, classes) {
+ Button(text, icon, style, ButtonType.BUTTON, disabled, null, true, classes) {
init {
this.id = id