From 07822bb3820629d86af637a05d656f9fb0a15a9f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 14 May 2020 19:42:40 +0200 Subject: Make Button component a container. --- .../src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvision-modules') 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 = setOf() ) : - Button(text, icon, style, ButtonType.BUTTON, disabled, classes) { + Button(text, icon, style, ButtonType.BUTTON, disabled, null, true, classes) { init { this.id = id -- cgit