From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
+
+SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
Parameters
@@ -17,6 +17,8 @@
serviceManager - multiplatform service manager
function - multiplatform service method returning the list of options
+stateFunction - a function to generate the state object passed with the remote request
multiple - allows multiple value selection (multiple values are comma delimited)
diff --git a/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html b/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html index 94a50eeb..32dd6f78 100644 --- a/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html @@ -18,7 +18,7 @@
SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
@@ -54,6 +54,15 @@
var dropdownAlign: SelectDropdownAlign
+The dropdown align of the select control.
+open var validationStatus: ValidationStatus?
+The validation status of the input.
+| - + + | +
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit |
+
| + + | +
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit |
+
| + + | +
+fun Component.addBsClearfix(): Unit |
+
| + + | +
+fun Component.addBsColor(bsColor: BsColor): Unit |
+
| + + | +
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit |
+
| + |
-fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T>
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold
+DSL builder extension function. + |
+
| + + | +
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
+DSL builder extension function. + |
+
| + + | +
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+DSL builder extension function. + |
+
| + + | +
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
+DSL builder extension function. + |
+
| + + | +
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
+DSL builder extension function. + |
+
| + + | +
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
+DSL builder extension function. + |
+
| + + | +
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit |