Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

AppliedFormUpdate

class AppliedFormUpdate[Owner, Schema, Domain](form: Form[Owner, Schema, Domain], valuesChanged: Boolean, kind: FormUpdateKind, target: Option[FormAddress[Owner]])

The form and metadata produced by applying a FormUpdate. A semantic blur for a removed row is ignored: its kind remains Blurred, but target is empty and no field is recorded as blurred. Check the target when counting accepted field interactions rather than received messages.

Parameters

form

The updated form; store it in the model.

valuesChanged

Whether the update changed the form's values; false for feedback-only updates such as a blur.

kind

What kind of interaction the update applied.

target

The logical address of the field the update concerns, when it resolves to an existing field.

Defined by scalive.AppliedFormUpdate. View source (scalive/api/src/scalive/forms/FormUpdate.scala:31-35)

Values4

form

val form: Form[Owner, Schema, Domain]

The updated form; store it in the model.

Defined by scalive.AppliedFormUpdate.form. View source (scalive/api/src/scalive/forms/FormUpdate.scala:32-32)

kind

val kind: FormUpdateKind

What kind of interaction the update applied.

Defined by scalive.AppliedFormUpdate.kind. View source (scalive/api/src/scalive/forms/FormUpdate.scala:34-34)

target

val target: Option[FormAddress[Owner]]

The logical address of the field the update concerns, when it resolves to an existing field.

Defined by scalive.AppliedFormUpdate.target. View source (scalive/api/src/scalive/forms/FormUpdate.scala:35-35)

valuesChanged

val valuesChanged: Boolean

Whether the update changed the form's values; false for feedback-only updates such as a blur.

Defined by scalive.AppliedFormUpdate.valuesChanged. View source (scalive/api/src/scalive/forms/FormUpdate.scala:33-33)