inputField
fun <C : HTMLElement> RenderContext.inputField(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: InputField<C>.() -> Unit): Tag<C>
Factory function to create a InputField.
API-Sketch:
inputField() {
val value: DatabindingProperty<String>
inputTextfield() { }
inputLabel() { }
inputDescription() { } // use multiple times
inputValidationMessages() {
msgs: Flow<List<ComponentValidationMessage>>
}
}
Content copied to clipboard
For more information refer to the official documentation
fun RenderContext.inputField(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: InputField<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>
Factory function to create a InputField with a HTMLDivElement as default root Tag.
API-Sketch:
inputField() {
val value: DatabindingProperty<String>
inputTextfield() { }
inputLabel() { }
inputDescription() { } // use multiple times
inputValidationMessages() {
msgs: Flow<List<ComponentValidationMessage>>
}
}
Content copied to clipboard
For more information refer to the official documentation