Convenient forms implementation, with support for many different input components and easy to define validation.
(js)
BoolFormControl |
Base interface of a form control with a boolean value. interface BoolFormControl : FormControl |
(js)
DateFormControl |
Base interface of a form control with a date value. interface DateFormControl : FormControl |
(js)
FieldLabel |
Helper class for HTML label element. open class FieldLabel : Tag |
(js)
Form |
The form definition class. Can be used directly or indirectly inside a FormPanel. class Form<K : Any> |
(js)
FormControl |
Base interface of a form control. interface FormControl : Component |
(js)
FormEnctype |
Form encoding types. enum class FormEnctype |
(js)
FormHorizontalRatio |
Proportions for horizontal form layout. enum class FormHorizontalRatio |
(js)
FormInput |
interface FormInput : Component |
(js)
FormMethod |
Form methods. enum class FormMethod |
(js)
FormPanel |
Bootstrap form component. open class FormPanel<K : Any> : SimplePanel |
(js)
FormTarget |
Form targets. enum class FormTarget |
(js)
FormType |
Bootstrap form layout options. enum class FormType |
(js)
HelpText |
Helper class for Bootstrap help text element. open class HelpText : Tag |
(js)
InputSize |
Input controls sizes. enum class InputSize |
(js)
InvalidFeedback |
Helper class for Bootstrap invalid feedback element. open class InvalidFeedback : Tag |
(js)
KFilesFormControl |
Base interface of a form control with a list of files value. interface KFilesFormControl : FormControl |
(js)
NumberFormControl |
Base interface of a form control with a numeric value. interface NumberFormControl : FormControl |
(js)
StringFormControl |
Base interface of a form control with a text value. interface StringFormControl : FormControl |
(js)
ValidationStatus |
Input controls validation status. enum class ValidationStatus |
(js)
kotlin.collections.Map |
|
(js)
kotlin.js.Json |
(js)
fieldLabel |
DSL builder extension function. fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel |
(js)
formPanel |
DSL builder extension function. fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), customSerializers: Map<KClass<*>, KSerializer<*>>? = null, init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> |