package controls
Type Members
- case class Checkbox(label: String, name: String) extends LabeledControl[Boolean] with Product with Serializable
- case class EmailField(label: String, name: String, placeholder: String = "") extends GenericInput[InternetAddress] with Product with Serializable
- abstract class GenericInput[T] extends TextEntryControl[T]
- abstract class LabeledControl[T] extends AnyRef
- case class Optional[T](control: TextEntryControl[T]) extends TextEntryControl[Option[T]] with Product with Serializable
- case class PasswordInput(label: String, name: String, minLength: Int, placeholder: String = "") extends GenericInput[String] with Product with Serializable
- class RadioButtonSet extends LabeledControl[String]
- abstract class SelectField[T] extends LabeledControl[T]
-
abstract
class
TextEntryControl[T] extends LabeledControl[T]
A control that accepts a value as free-form text (e.g., , ), though it may validate that the entered text matches a specific format (such as that of an integer, or URL).
A control that accepts a value as free-form text (e.g., , ), though it may validate that the entered text matches a specific format (such as that of an integer, or URL).
- case class TextInput(label: String, name: String, placeholder: String = "") extends GenericInput[String] with Product with Serializable
- case class Textarea(label: String, name: String, placeholder: String = "") extends TextEntryControl[String] with Product with Serializable
- case class URLField(label: String = "URL", name: String, placeholder: String = "", requireProtocol: Boolean = false) extends GenericInput[URL] with Product with Serializable