fieldWithLabel

@Composable
fun IComponent.fieldWithLabel(label: String, className: String? = null, labelAfter: Boolean = false, groupClassName: String? = null, wrapperClassName: String? = null, content: @Composable IComponent.(id: String) -> Unit)(source)

Creates a block with an associated label.

Parameters

label

the label text

className

the optional CSS class name for the label

labelAfter

whether the label should be placed after the field

groupClassName

the optional CSS class name for the group

wrapperClassName

the optional CSS class name for the direct wrapper of the field