Constructs a simple mapping for a text field (mapped as scala.Enumeration
)
Constructs a simple mapping for a text field (mapped as scala.Enumeration
)
For example:
Form("status" -> enum(Status))
Constructs a simple mapping for a text field (mapped as scala.Enumeration
)
Constructs a simple mapping for a text field (mapped as scala.Enumeration
)
For example:
Form("status" -> enumId(Status))
Constructs a simple mapping for a text field (mapped as scala.Enumeration
)
Constructs a simple mapping for a text field (mapped as scala.Enumeration
)
For example:
Form("status" -> enumName(Status))
Constructs a simple mapping for a text field (mapped as io.teamscala.scala.data.OrderedEnumeration
)
Constructs a simple mapping for a text field (mapped as io.teamscala.scala.data.OrderedEnumeration
)
For example:
object Sorts extends io.teamscala.scala.data.OrderedEnumeration { ... } Form("sort" -> enumOrd(Sorts))
Constructs a simple mapping for a text field (mapped as io.teamscala.scala.data.SortableEnumeration
)
Constructs a simple mapping for a text field (mapped as io.teamscala.scala.data.SortableEnumeration
)
For example:
object Sorts extends io.teamscala.scala.data.SortableEnumeration { ... } Form("sort" -> enumSort(Sorts))