FormData

works.iterative.forms.FormData
See theFormData companion object
final case class FormData(data: Map[AbsolutePath, List[FieldValue]]) extends FormState

Attributes

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

Members list

Value members

Concrete methods

def add(path: AbsolutePath, value: String): FormData
override def all(f: AbsolutePath => Boolean): List[Any]

Attributes

Definition Classes
FormState

Keeps this side's values on conflicting paths, adds the other side's missing ones.

Keeps this side's values on conflicting paths, adds the other side's missing ones.

Attributes

def filterKeys(p: AbsolutePath => Boolean): FormData
def get(path: AbsolutePath): Option[List[FieldValue]]
override def getDouble(id: AbsolutePath): Option[Double]

Attributes

Definition Classes
FormState
override def getFileList(id: AbsolutePath): Option[List[UIFile]]

Attributes

Definition Classes
FormState
override def getInt(id: AbsolutePath): Option[Int]

Attributes

Definition Classes
FormState
override def getString(id: AbsolutePath): Option[String]

Attributes

Definition Classes
FormState
override def getStringList(id: AbsolutePath): Option[List[String]]

Attributes

Definition Classes
FormState
def isEmpty: Boolean
override def itemsFor(id: AbsolutePath): List[(String, String)]

Attributes

Definition Classes
FormState
def nonEmpty: Boolean

Prefers the other side's values on conflicting paths.

Prefers the other side's values on conflicting paths.

Attributes

def set(path: AbsolutePath, values: List[String]): FormData

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product