From 806edfceeefe7fda47924f97237974e99fe28a02 Mon Sep 17 00:00:00 2001
From: Robert Jaros
+
-
<init>
-
-CheckBox(value: Boolean = false, label: String? = null, rich: Boolean = false)
+
+CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false)
Parameters
+name
- the name of the input elementlabel
- label text bound to the input elementrich
- determines if label can contain HTML coderich
- determines if label can contain HTML code
Constructor
open var disabled: Boolean
-Overrides FormControl.disabled
-Determines if the field is disabled.
-
diff --git a/api/pl.treksoft.kvision.form.check/-check-box/check-box.html b/api/pl.treksoft.kvision.form.check/-check-box/check-box.html
index 6a137610..31c07058 100644
--- a/api/pl.treksoft.kvision.form.check/-check-box/check-box.html
+++ b/api/pl.treksoft.kvision.form.check/-check-box/check-box.html
@@ -8,8 +8,8 @@
kvision / pl.treksoft.kvision.form.check / CheckBox / checkBox
-
-fun Container.checkBox(value: Boolean = false, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox
+
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox
DSL builder extension function.
It takes the same parameters as the constructor of the built component.
diff --git a/api/pl.treksoft.kvision.form.check/-check-box/disabled.html b/api/pl.treksoft.kvision.form.check/-check-box/disabled.html deleted file mode 100644 index 7fb35ea8..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - -
- -
- - -
-