kvision / pl.treksoft.kvision.form / FormPanel / formPanel

formPanel

fun <K> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K): FormPanel<K>

DSL builder extension function.

It takes the same parameters as the constructor of the built component.