Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

FormProduct

class FormProduct[Owner, Domain]

The named parts of a form definition, as started by product.

Defined by scalive.FormProduct. View source (scalive/api/src/scalive/forms/FormField.scala:247-270)

Methods1

apply

def apply[Parts <: NamedTuple.AnyNamedTuple, Labels <: Tuple, Types <: Tuple](parts: Parts)(using mirror: ((deriving.Mirror.ProductOf[Domain] { type MirroredElemLabels = Labels }) { type MirroredElemTypes = Types })): FormDefinition[Owner, Domain]

Completes the definition with parts, named after the fields of Domain in order.

Defined by scalive.FormProduct.apply. View source (scalive/api/src/scalive/forms/FormField.scala:249-260)