typeaheadRemote

fun <T : Any> <ERROR CLASS>.typeaheadRemote(    serviceManager: <ERROR CLASS><T>,     function: suspend T.(String?, String?) -> List<String>,     stateFunction: () -> String? = null,     items: Int? = 8,     minLength: Int = 1,     delay: Int = 0,     type: <ERROR CLASS> = 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.

It takes the same parameters as the constructor of the built component.