FormGroupComponent

open class FormGroupComponent : Component<Unit>

This component class manages the configuration of a formGroup and does the rendering.

For details of the usage see its factory function formGroup.

See also

Constructors

Link copied to clipboard
fun FormGroupComponent()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class LabelContext
Link copied to clipboard
enum LabelPlacement : Enum<FormGroupComponent.LabelPlacement>
Link copied to clipboard
object LabelPlacementContext

Functions

Link copied to clipboard
fun labels(expression: FormGroupComponent.LabelContext.() -> Unit)
fun labels(    sm: FormGroupComponent.LabelContext.() -> Unit? = null,     md: FormGroupComponent.LabelContext.() -> Unit? = null,     lg: FormGroupComponent.LabelContext.() -> Unit? = null,     xl: FormGroupComponent.LabelContext.() -> Unit? = null)
Link copied to clipboard
open override fun render(    context: RenderContext,     styling: BoxParams.() -> Unit,     baseClass: StyleClass,     id: String?,     prefix: String)

Central method that should do the actual rendering of a component.

Properties

Link copied to clipboard
val items: ComponentProperty<RenderContext.() -> Unit>