Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

RepeatedGroup

class RepeatedGroup[Owner]

A row-field namespace tied to one exact repeated group value.

Its singleton type prevents fields and FormRowKey values from being mixed across groups.

Defined by scalive.RepeatedGroup. View source (scalive/api/src/scalive/forms/FormField.scala:228-281)

Types3

Field

type Field = ([Input, Value] =>> FormField[type, Input, Value])

Defined by scalive.RepeatedGroup.Field. View source (scalive/api/src/scalive/forms/FormField.scala:234-234)

Initial

type Initial = FormInitial[type]

Defined by scalive.RepeatedGroup.Initial. View source (scalive/api/src/scalive/forms/FormField.scala:235-235)

Key

type Key = FormRowKey[type]

Defined by scalive.RepeatedGroup.Key. View source (scalive/api/src/scalive/forms/FormField.scala:233-233)

Methods5

field

def field[Input](relative: String, input: FieldInput[Input]): Field[Input, Input]

Declares a row-relative field with a custom editable-input codec.

Defined by scalive.RepeatedGroup.field. View source (scalive/api/src/scalive/forms/FormField.scala:241-243)

optionalText

def optionalText(relative: String): Field[Option[String], Option[String]]

Declares a single-value optional row text field.

Defined by scalive.RepeatedGroup.optionalText. View source (scalive/api/src/scalive/forms/FormField.scala:256-257)

product

def product[Row](parts: Tuple)(using mirror: deriving.Mirror.ProductOf[Row]): RepeatedRows[Owner, type, Row]

Completes the row product and contributes a Vector[Row] to the root product.

Defined by scalive.RepeatedGroup.product. View source (scalive/api/src/scalive/forms/FormField.scala:264-270)

text

def text(relative: String, default: String = ..., duplicateIssue: FieldIssue = ...): Field[String, String]

Declares a single-value row text field.

Defined by scalive.RepeatedGroup.text. View source (scalive/api/src/scalive/forms/FormField.scala:246-253)

texts

def texts(relative: String): Field[Vector[String], Vector[String]]

Declares a row field that preserves every submitted value in order.

Defined by scalive.RepeatedGroup.texts. View source (scalive/api/src/scalive/forms/FormField.scala:260-261)

Values3

address

val address: FormAddress[Owner]

Logical group address used for group-level validation.

Defined by scalive.RepeatedGroup.address. View source (scalive/api/src/scalive/forms/FormField.scala:238-238)

path

val path: FormPath

Defined by scalive.RepeatedGroup.path. View source (scalive/api/src/scalive/forms/FormField.scala:230-230)

root

val root: FormRoot

Defined by scalive.RepeatedGroup.root. View source (scalive/api/src/scalive/forms/FormField.scala:229-229)