Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

ErrorVisibility

enum ErrorVisibility

Which of a form's validation errors are eligible for display.

Defined by scalive.ErrorVisibility. View source (scalive/api/src/scalive/forms/FormState.scala:13-18)

Values2

All

val All: ErrorVisibility

Every error is visible, as after a submission.

Defined by scalive.ErrorVisibility.All. View source (scalive/api/src/scalive/forms/FormState.scala:18-18)

UsedOnly

val UsedOnly: ErrorVisibility

Errors appear field by field, as the form's FormFeedback policy allows.

Defined by scalive.ErrorVisibility.UsedOnly. View source (scalive/api/src/scalive/forms/FormState.scala:15-15)