FormEvent
class FormEvent[Owner, Schema, Domain]A definition-backed event containing an already rebuilt, internally consistent form.
Prefer this over RawFormEvent for schema-defined forms. data is the original untrusted payload; form is the bounded, canonical projection and validation result.
Defined by scalive.FormEvent. View source (scalive/api/src/scalive/forms/FormEvent.scala:31-50)
Methods5
errors
def errors: FormErrors[Owner]All errors on the rebuilt form, whether currently visible or not.
Defined by scalive.FormEvent.errors. View source (scalive/api/src/scalive/forms/FormEvent.scala:44-44)
isValid
def isValid: BooleanWhether the rebuilt form decoded to its domain value.
Defined by scalive.FormEvent.isValid. View source (scalive/api/src/scalive/forms/FormEvent.scala:38-38)
rawSubmitter
def rawSubmitter: Option[RawFormSubmitter]Untrusted submit-control metadata, when supplied by the client protocol.
Defined by scalive.FormEvent.rawSubmitter. View source (scalive/api/src/scalive/forms/FormEvent.scala:50-50)
target
def target: Option[FormAddress[Owner]]Resolved logical target, absent when the browser target is unknown or malformed.
Defined by scalive.FormEvent.target. View source (scalive/api/src/scalive/forms/FormEvent.scala:47-47)
valueOption
def valueOption: Option[Domain]The decoded domain value when isValid.
Defined by scalive.FormEvent.valueOption. View source (scalive/api/src/scalive/forms/FormEvent.scala:41-41)
Values4
data
val data: FormDataDefined by scalive.FormEvent.data. View source (scalive/api/src/scalive/forms/FormEvent.scala:33-33)
form
val form: Form[Owner, Schema, Domain]Defined by scalive.FormEvent.form. View source (scalive/api/src/scalive/forms/FormEvent.scala:32-32)
kind
val kind: FormEventKindDefined by scalive.FormEvent.kind. View source (scalive/api/src/scalive/forms/FormEvent.scala:34-34)
meta
val meta: FormEventMeta[Owner]Defined by scalive.FormEvent.meta. View source (scalive/api/src/scalive/forms/FormEvent.scala:35-35)