Package io.kvision.form.text

Text input components, with password, text area, rich text area and typeahead support.

Types

Link copied to clipboard
open class TypeaheadRemote<T : Any>(    serviceManager: <Error class: unknown class><T>,     function: suspend T.(String?, String?) -> List<String>,     stateFunction: () -> String? = null,     items: Int? = 8,     minLength: Int = 1,     delay: Int = 0,     type: <Error class: unknown class> = InputType.TEXT,     value: String? = null,     name: String? = null,     label: String? = null,     rich: Boolean = false,     floating: Boolean = false,     init: TypeaheadRemote<T>.() -> Unit? = null)

Form field typeahead component connected to the fullstack service.

Link copied to clipboard
open class TypeaheadRemoteInput<T : Any>(    serviceManager: <Error class: unknown class><T>,     function: suspend T.(String?, String?) -> List<String>,     stateFunction: () -> String? = null,     items: Int? = 8,     minLength: Int = 1,     delay: Int = 0,     type: <Error class: unknown class> = InputType.TEXT,     value: String? = null,     taAjaxOptions: <Error class: unknown class>? = null,     className: String? = null,     init: TypeaheadRemoteInput<T>.() -> Unit? = null)

The Typeahead control connected to the fullstack service.

Functions

Link copied to clipboard
fun <T : Any> <Error class: unknown class>.typeaheadRemote(    serviceManager: <Error class: unknown class><T>,     function: suspend T.(String?, String?) -> List<String>,     stateFunction: () -> String? = null,     items: Int? = 8,     minLength: Int = 1,     delay: Int = 0,     type: <Error class: unknown class> = InputType.TEXT,     value: String? = null,     name: String? = null,     label: String? = null,     rich: Boolean = false,     floating: Boolean = false,     init: TypeaheadRemote<T>.() -> Unit? = null): TypeaheadRemote<T>

DSL builder extension function.

Link copied to clipboard
fun <T : Any> <Error class: unknown class>.typeaheadRemoteInput(    serviceManager: <Error class: unknown class><T>,     function: suspend T.(String?, String?) -> List<String>,     stateFunction: () -> String? = null,     items: Int? = 8,     minLength: Int = 1,     delay: Int = 0,     type: <Error class: unknown class> = InputType.TEXT,     value: String? = null,     taAjaxOptions: <Error class: unknown class>? = null,     className: String? = null,     init: TypeaheadRemoteInput<T>.() -> Unit? = null): TypeaheadRemoteInput<T>

DSL builder extension function.