Packages

package input

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class Input(id: String = "", name: String = "", inputType: String = "text", inputmode: Option[String] = None, describedBy: Option[String] = None, value: Option[String] = None, label: Label = Label(), hint: Option[Hint] = None, errorMessage: Option[ErrorMessage] = None, formGroup: FormGroup = FormGroup.empty, classes: String = "", autocomplete: Option[String] = None, pattern: Option[String] = None, attributes: Map[String, String] = Map.empty, spellcheck: Option[Boolean] = None, prefix: Option[PrefixOrSuffix] = None, suffix: Option[PrefixOrSuffix] = None, disabled: Option[Boolean] = None, autocapitalize: Option[String] = None, inputWrapper: InputWrapper = InputWrapper.empty) extends Product with Serializable

    Parameters to GovukInput Twirl template

    Parameters to GovukInput Twirl template

    id

    id attribute for the input

    name

    name attribute for the input

    inputType

    type attribute for the input

    inputmode

    optional inputmode attribute for the input

    describedBy

    optional aria-describedby attribute for the input

    value

    optional value attribute for the input

    label

    optional Label for the control

    hint

    optional Hint for the control

    errorMessage

    optional ErrorMessage to display

    formGroup

    additional CSS classes/attributes/etc. to apply to the form group

    classes

    optional additional CSS classes to apply to the input

    autocomplete

    optional autocomplete attribute for the input

    pattern

    optional pattern attribute for the input

    attributes

    optional additional HTML attributes to apply to the input

    spellcheck

    optional spellcheck attribute for the input

    prefix

    optional content to display immediately before the input

    suffix

    optional content to display immediately after the input

    disabled

    optional disabled attribute for the input

    autocapitalize

    optional autocapitalize attribute for the input

    inputWrapper

    additional CSS classes/attributes to apply to the input wrapper

  2. case class InputWrapper(classes: Option[String] = None, attributes: Map[String, String] = Map.empty) extends Product with Serializable
  3. case class PrefixOrSuffix(classes: String = "", attributes: Map[String, String] = Map.empty, content: Content = Empty) extends Product with Serializable

Value Members

  1. object Input extends Serializable
  2. object InputWrapper extends Serializable
  3. object PrefixOrSuffix extends Serializable

Ungrouped