implicits
Top-level implicits for all components
Attributes
- Graph
-
- Supertypes
-
trait Implicitstrait RichDateInputSupporttrait RichErrorSummarySupportclass Objecttrait Matchableclass AnyShow all
- Self type
-
implicits.type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- RichCharacterCountSupport
- Supertypes
Attributes
- Inherited from:
- RichDateInputSupport
- Supertypes
Extension methods to hydrate an ErrorSummary with the errors found in a Play form.
Extension methods to hydrate an ErrorSummary with the errors found in a Play form.
Error messages are hyperlinked to the HTML input elements corresponding to the Play field. For situations where the form field does not correspond to an HTML input element, for example, a composite field such as a date, provide a mapping from the composite field to Play field corresponding to the first HTML input element in the group.
For example:
@govukErrorSummary(ErrorSummary().withFormErrorsAsText(dateInputForm, mapping = Map("date" -> "date.day")))
Attributes
- Inherited from:
- RichErrorSummarySupport
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Implicits
- Supertypes
Attributes
- Inherited from:
- Implicits
- Supertypes
Implicits
Inherited implicits
Attributes
- Inherited from:
- RichCharacterCountSupport
Attributes
- Inherited from:
- RichDateInputSupport
Extension methods to hydrate an ErrorSummary with the errors found in a Play form.
Extension methods to hydrate an ErrorSummary with the errors found in a Play form.
Error messages are hyperlinked to the HTML input elements corresponding to the Play field. For situations where the form field does not correspond to an HTML input element, for example, a composite field such as a date, provide a mapping from the composite field to Play field corresponding to the first HTML input element in the group.
For example:
@govukErrorSummary(ErrorSummary().withFormErrorsAsText(dateInputForm, mapping = Map("date" -> "date.day")))
Attributes
- Inherited from:
- RichErrorSummarySupport
Attributes
- Inherited from:
- Implicits
Attributes
- Inherited from:
- Implicits