Package io. kvision. form. text
Text input components, with password, text area, rich text area and typeahead support.
Types
Typeahead Remote
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
Content copied to clipboard
Form field typeahead component connected to the multiplatform service.
Typeahead Remote Input
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
Content copied to clipboard
The Typeahead control connected to the multiplatform service.
Functions
typeahead Remote
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>
Content copied to clipboard
DSL builder extension function.
typeahead Remote Input
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>
Content copied to clipboard
DSL builder extension function.