Text input components, with password, text area, rich text area and typeahead support.
(js)
AbstractText |
Base class for form field text components. abstract class AbstractText : SimplePanel, StringFormControl |
(js)
AbstractTextInput |
Base class for basic text components. abstract class AbstractTextInput : Widget, FormInput |
(js)
DataType |
Data type for the AJAX call. enum class DataType |
(js)
HttpType |
HTTP protocol type for the AJAX call. enum class HttpType |
(js)
Password |
Form field password component. open class Password : Text |
(js)
RichText |
Form field rich text component. open class RichText : AbstractText |
(js)
RichTextInput |
Basic rich text component. open class RichTextInput : AbstractTextInput |
(js)
ShowHintOnFocus |
enum class ShowHintOnFocus |
(js)
TaAjaxOptions |
Data class for Typeahead AJAX options. data class TaAjaxOptions |
(js)
Text |
Form field text component. open class Text : AbstractText |
(js)
TextArea |
Form field textarea component. open class TextArea : AbstractText |
(js)
TextAreaInput |
Basic textarea component. open class TextAreaInput : AbstractTextInput |
(js)
TextInput |
Basic text component. open class TextInput : AbstractTextInput |
(js)
TextInputType |
Text input types. enum class TextInputType |
(js)
Typeahead |
Form field typeahead component. open class Typeahead : AbstractText |
(js)
TypeaheadInput |
The basic component for typeahead control. open class TypeaheadInput : TextInput |
(js)
TypeaheadRemote |
Form field typeahead component connected to the multiplatform service. open class TypeaheadRemote<T : Any> : AbstractText |
(js)
TypeaheadRemoteInput |
The Typeahead control connected to the multiplatform service. open class TypeaheadRemoteInput<T : Any> : TypeaheadInput |
(js)
password |
DSL builder extension function. fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Password.() -> Unit)? = null): Password |
(js)
richText |
DSL builder extension function. fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText |
(js)
richTextInput |
DSL builder extension function. fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput |
(js)
text |
DSL builder extension function. fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text |
(js)
textArea |
DSL builder extension function. fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (TextArea.() -> Unit)? = null): TextArea |
(js)
textAreaInput |
DSL builder extension function. fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput |
(js)
textInput |
DSL builder extension function. fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput |
(js)
typeahead |
DSL builder extension function. fun Container.typeahead(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = 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, init: (Typeahead.() -> Unit)? = null): Typeahead |
(js)
typeaheadInput |
DSL builder extension function. fun Container.typeaheadInput(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadInput.() -> Unit)? = null): TypeaheadInput |
(js)
typeaheadRemote |
DSL builder extension function. fun <T : Any> Container.typeaheadRemote(serviceManager: KVServiceManager<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, init: (TypeaheadRemote<T>.() -> Unit)? = null): TypeaheadRemote<T> |
(js)
typeaheadRemoteInput |
DSL builder extension function. fun <T : Any> Container.typeaheadRemoteInput(serviceManager: KVServiceManager<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, classes: Set<String> = setOf(), init: (TypeaheadRemoteInput<T>.() -> Unit)? = null): TypeaheadRemoteInput<T> |