aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form/-form
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-02-09 14:23:52 +0100
committerRobert Jaros <rjaros@finn.pl>2020-02-09 14:23:52 +0100
commit6ce402754e01940fc641f8814eae03599a622b1c (patch)
tree5c00c28563f6f1cf35175de6a8f3be5db0ef3075 /api/pl.treksoft.kvision.form/-form
parenta817e908e6df82b9b6d69758635c852c7a5f628e (diff)
downloadkvision-6ce402754e01940fc641f8814eae03599a622b1c.tar.gz
kvision-6ce402754e01940fc641f8814eae03599a622b1c.tar.bz2
kvision-6ce402754e01940fc641f8814eae03599a622b1c.zip
API documentation for KVision 2.10.0
Diffstat (limited to 'api/pl.treksoft.kvision.form/-form')
-rw-r--r--api/pl.treksoft.kvision.form/-form/-init-.html4
-rw-r--r--api/pl.treksoft.kvision.form/-form/add-custom.html30
-rw-r--r--api/pl.treksoft.kvision.form/-form/create.html4
-rw-r--r--api/pl.treksoft.kvision.form/-form/index.html13
4 files changed, 45 insertions, 6 deletions
diff --git a/api/pl.treksoft.kvision.form/-form/-init-.html b/api/pl.treksoft.kvision.form/-form/-init-.html
index d2e40cfd..d659b895 100644
--- a/api/pl.treksoft.kvision.form/-form/-init-.html
+++ b/api/pl.treksoft.kvision.form/-form/-init-.html
@@ -8,8 +8,8 @@
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form</a>&nbsp;/&nbsp;<a href="index.html">Form</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
-<a name="pl.treksoft.kvision.form.Form$&lt;init&gt;(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)))"></a>
-<code><span class="identifier">Form</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">)</span></code>
+<a name="pl.treksoft.kvision.form.Form$&lt;init&gt;(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))))"></a>
+<code><span class="identifier">Form</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))))/customSerializers">customSerializers</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html"><span class="identifier">KClass</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
<p>Creates a form with a given modelFactory function</p>
<h3>Parameters</h3>
<p><a name="K"></a>
diff --git a/api/pl.treksoft.kvision.form/-form/add-custom.html b/api/pl.treksoft.kvision.form/-form/add-custom.html
new file mode 100644
index 00000000..8c3f9978
--- /dev/null
+++ b/api/pl.treksoft.kvision.form/-form/add-custom.html
@@ -0,0 +1,30 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Form.addCustom - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form</a>&nbsp;/&nbsp;<a href="index.html">Form</a>&nbsp;/&nbsp;<a href="./add-custom.html">addCustom</a><br/>
+<br/>
+<h1>addCustom</h1>
+<a name="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))"></a>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">C</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-string-form-control/index.html"><span class="identifier">StringFormControl</span></a><span class="symbol">&gt;</span> <span class="identifier">addCustom</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/key">key</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property1/index.html"><span class="identifier">KProperty1</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/control">control</span><span class="symbol">:</span>&nbsp;<a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/required">required</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/requiredMessage">requiredMessage</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/validatorMessage">validatorMessage</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/validator">validator</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span></code>
+<p>Adds a string control to the form bound to custom field type.</p>
+<h3>Parameters</h3>
+<p><a name="key"></a>
+<code>key</code> - key identifier of the control</p>
+<p><a name="control"></a>
+<code>control</code> - the string form control</p>
+<p><a name="required"></a>
+<code>required</code> - determines if the control is required</p>
+<p><a name="requiredMessage"></a>
+<code>requiredMessage</code> - optional required validation message</p>
+<p><a name="validatorMessage"></a>
+<code>validatorMessage</code> - optional function returning validation message</p>
+<p><a name="validator"></a>
+<code>validator</code> - optional validation function</p>
+<p><strong>Return</strong><br/>
+current form</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.form/-form/create.html b/api/pl.treksoft.kvision.form/-form/create.html
index a49897b6..1c2843a3 100644
--- a/api/pl.treksoft.kvision.form/-form/create.html
+++ b/api/pl.treksoft.kvision.form/-form/create.html
@@ -8,7 +8,7 @@
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form</a>&nbsp;/&nbsp;<a href="index.html">Form</a>&nbsp;/&nbsp;<a href="./create.html">create</a><br/>
<br/>
<h1>create</h1>
-<a name="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))"></a>
-<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span></code>
+<a name="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))"></a>
+<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/customSerializers">customSerializers</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html"><span class="identifier">KClass</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span></code>
</BODY>
</HTML>
diff --git a/api/pl.treksoft.kvision.form/-form/index.html b/api/pl.treksoft.kvision.form/-form/index.html
index d02d3b11..063dbb0f 100644
--- a/api/pl.treksoft.kvision.form/-form/index.html
+++ b/api/pl.treksoft.kvision.form/-form/index.html
@@ -18,7 +18,7 @@
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
-<code><span class="identifier">Form</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">)</span></code>
+<code><span class="identifier">Form</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))))/customSerializers">customSerializers</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html"><span class="identifier">KClass</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
<p>Creates a form with a given modelFactory function</p>
</td>
</tr>
@@ -65,6 +65,15 @@
</tr>
<tr>
<td>
+<p><a href="add-custom.html">addCustom</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">C</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-string-form-control/index.html"><span class="identifier">StringFormControl</span></a><span class="symbol">&gt;</span> <span class="identifier">addCustom</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/key">key</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property1/index.html"><span class="identifier">KProperty1</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/control">control</span><span class="symbol">:</span>&nbsp;<a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/required">required</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/requiredMessage">requiredMessage</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/validatorMessage">validatorMessage</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.Form.K, kotlin.Any)), pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.addCustom.C, kotlin.Boolean)))/validator">validator</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span></code>
+<p>Adds a string control to the form bound to custom field type.</p>
+</td>
+</tr>
+<tr>
+<td>
<p><a href="clear-data.html">clearData</a></p>
</td>
<td>
@@ -154,7 +163,7 @@
<p><a href="create.html">create</a></p>
</td>
<td>
-<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="./index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span></code></td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/customSerializers">customSerializers</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html"><span class="identifier">KClass</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form.Companion$create(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.collections.Map((kotlin.reflect.KClass((kotlin.Any)), kotlinx.serialization.KSerializer((kotlin.Any)))), kotlin.Function1((pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.Form.Companion.create.K)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="./index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="create.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>