kvision / pl.treksoft.kvision.form / FormPanel / <init>

<init>

(js) FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), serializer: KSerializer<K>? = null, customSerializers: Map<KClass<*>, KSerializer<*>>? = null)

Parameters

K - model class type

method - HTTP method

action - the URL address to send data

enctype - form encoding type

type - form layout

condensed - determines if the form is condensed.

horizRatio - horizontal form layout ratio

classes - set of CSS class names

serializer - a serializer for model type

customSerializers - a map of custom serializers for model type

Constructor