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

FormGroupComponent
Link copied to clipboard
js
fun FormGroupComponent()

Types

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

Functions

labels
Link copied to clipboard
js
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)
render
Link copied to clipboard
js
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

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