Field

works.iterative.forms.Field
case class Field(id: RelativePath, fieldType: FieldType = ..., default: Option[String] = ..., optional: Boolean = ..., validations: List[Validation] = ...) extends SectionSegment

Attributes

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

Members list

Value members

Concrete methods

def required: Boolean

Required-ness has two spellings — the optional flag and a declared Required validation — and every walker must agree on their combination.

Required-ness has two spellings — the optional flag and a declared Required validation — and every walker must agree on their combination.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product