From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../pl.treksoft.kvision.form/-form-panel/add.html | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/add.html (limited to 'docs/api/pl.treksoft.kvision.form/-form-panel/add.html') diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/add.html b/docs/api/pl.treksoft.kvision.form/-form-panel/add.html new file mode 100644 index 00000000..dabf16e2 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/add.html @@ -0,0 +1,28 @@ + + + +FormPanel.add - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / add
+
+

add

+ +open fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K> +

Adds a control to the form panel.

+

Parameters

+

+key - key identifier of the control

+

+control - the form control

+

+required - determines if the control is required

+

+validatorMessage - optional function returning validation message

+

+validator - optional validation function

+

Return
+current form panel

+ + -- cgit