Form input example

With error items

How it looks (preview)

Error: Descriptive link to the question with an error 1
Descriptive link to the question with an error 2

How to call this example

<%= render "govuk_publishing_components/components/input", {
  label: {
    text: "What is your name?"
  },
  name: "name",
  error_items: [
    {
      text: "Descriptive link to the question with an error 1"
    },
    {
      text: "Descriptive link to the question with an error 2"
    }
  ]
} %>