ErrorSummary

ErrorSummary gives the user a summary list of validation errors they need to fix before continuing.

Read more about this component in the Aksel documentation.

Properties

ErrorSummary

PropertyDescriptionDefault
Control
Properties
heading

Heading text.

string
"You must fix these errors before you can continue"
headingTag

Allows setting a different HTML h-tag.

"h1" "h2" "h3" "h4" "h5" "h6"
"h2"
size

Changes padding and font-sizes.

"medium" "small"
"medium"
Snippets
children

Error content

 -

Properties included from: HTMLAttributes<HTMLDivElement>

ErrorSummaryItem

PropertyDescriptionDefault
Control
Properties
href
required

Link to the element that has the error

string
-
Snippets
children

The error message

 -

Properties included from: HTMLAnchorAttributes