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

<init>

(js) Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>? = null, customSerializers: Map<KClass<*>, KSerializer<*>>? = null)

Creates a form with a given modelFactory function

Parameters

K - model class type

panel - optional instance of FormPanel

serializer - a serializer for model type

customSerializers - a map of custom serializers for model type

Constructor
Creates a form with a given modelFactory function