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

<init>

(js) Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>, 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

Constructor
Creates a form with a given modelFactory function