Package io.kvision.form.text

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

Types

TypeaheadRemote
Link copied to clipboard
open class TypeaheadRemote<T : Any>(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String?, items: Int?, minLength: Int, delay: Int, type: TextInputType, value: String?, name: String?, label: String?, rich: Boolean, floating: Boolean, init: TypeaheadRemote<T>.() -> Unit?) : AbstractText

Form field typeahead component connected to the fullstack service.

TypeaheadRemoteInput
Link copied to clipboard
open class TypeaheadRemoteInput<T : Any>(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String?, items: Int?, minLength: Int, delay: Int, type: TextInputType, value: String?, taAjaxOptions: TaAjaxOptions?, className: String?, init: TypeaheadRemoteInput<T>.() -> Unit?) : TypeaheadInput

The Typeahead control connected to the fullstack service.

Functions

typeaheadRemote
Link copied to clipboard
fun <T : Any> Container.typeaheadRemote(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.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.

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

DSL builder extension function.