selectRemote

fun <T : Any> Container.selectRemote(    serviceManager: RpcServiceMgr<T>,     function: suspend T.(String?) -> List<SimpleRemoteOption>,     stateFunction: () -> String? = null,     value: String? = null,     name: String? = null,     emptyOption: Boolean = false,     multiple: Boolean = false,     selectSize: Int? = null,     requestFilter: suspend RequestInit.() -> Unit? = null,     label: String? = null,     rich: Boolean = false,     init: SelectRemote<T>.() -> Unit? = null): SelectRemote<T>(source)

DSL builder extension function.

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