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