From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
+
+SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
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
name - the name attribute of the generated HTML input element
diff --git a/api/pl.treksoft.kvision.form.select/-select-remote/dropdown-align.html b/api/pl.treksoft.kvision.form.select/-select-remote/dropdown-align.html new file mode 100644 index 00000000..cb66d6eb --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-remote/dropdown-align.html @@ -0,0 +1,15 @@ + +
+ +var dropdownAlign: SelectDropdownAlign
+The dropdown align of the select control.
+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-remote/index.html b/api/pl.treksoft.kvision.form.select/-select-remote/index.html index 19275a04..325fffb5 100644 --- a/api/pl.treksoft.kvision.form.select/-select-remote/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-remote/index.html @@ -18,7 +18,7 @@SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
@@ -36,6 +36,15 @@
var dropdownAlign: SelectDropdownAlign
+The dropdown align of the select control.
+val invalidFeedback: InvalidFeedback
+Invalid feedback component.
+val validationInfo: HelpBlock
-Validation info component.
+open var value: String?
+A value of the selected option.
| - + |
-open var value: String?
-A value of the selected option. - |
+
| - + + | +
+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.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<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 Conta |