FormField

kreuzberg.extras.forms.FormField
case class FormField[T](name: String, label: String, placeholder: String, formType: String, codec: Codec[T, String], validator: Validator[T], required: Boolean)

A Single Field Element.

Attributes

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

Members list

Value members

Concrete methods

def ::[Y](before: FormField[Y]): RecursiveFormFields[Y *: T *: EmptyTuple]
def decodeAndValidate(in: String): Result[T]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product