Form

oxygen.ui.web.component.Form
See theForm companion object
final case class Form[-Env, -StateGet, +StateSet <: StateGet, Value](widget: PWidget[Env, Submit, StateGet, StateSet], fields: List[String], stateToValue: StateGet => Either[FormValidationErrors, Value])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def flatMapValue[Value2](f: Value => Either[String, Value2]): Form[Env, StateGet, StateSet, Value2]
def mapValue[Value2](f: Value => Value2): Form[Env, StateGet, StateSet, Value2]
def validateValue(f: Value => Either[String, Unit]): Form[Env, StateGet, StateSet, Value]
def validateValue(f: Value => EitherNel[String, Unit]): Form[Env, StateGet, StateSet, Value]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product