From 806edfceeefe7fda47924f97237974e99fe28a02 Mon Sep 17 00:00:00 2001
From: Robert Jaros
+
-
<init>
-
-RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
+
+RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
Parameters
options - an optional list of options (label to value pairs) for the groupname - the name attribute of the generated HTML input elementinline - determines if the options are rendered inlinelabel - label text of the options grouprich - determines if label can contain HTML coderich - determines if label can contain HTML code
Constructor
open var name: String?
+Overrides FormControl.name
+The name attribute of the generated HTML input element.
+diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/index.html b/api/pl.treksoft.kvision.form.check/-radio-group/index.html index 2e789c4e..d1775942 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/index.html @@ -20,7 +20,7 @@
RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
+RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
@@ -59,7 +59,7 @@
val input: Widget
+val input: CheckInput
The actual input component.
@@ -74,6 +74,15 @@
open var name: String?
+The name attribute of the generated HTML input element.
++
open var size: InputSize?
-Input control size.
+Input control field size.
fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup
+fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup
DSL builder extension function.
diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/input.html b/api/pl.treksoft.kvision.form.check/-radio-group/input.html
index f5842e92..3b1eccae 100644
--- a/api/pl.treksoft.kvision.form.check/-radio-group/input.html
+++ b/api/pl.treksoft.kvision.form.check/-radio-group/input.html
@@ -9,7 +9,7 @@
-val input: Widget
+val input: CheckInput
Overrides FormControl.input
The actual input component.
diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/name.html b/api/pl.treksoft.kvision.form.check/-radio-group/name.html new file mode 100644 index 00000000..299928b9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group/name.html @@ -0,0 +1,16 @@ + +
+ +
+ + +
+