1. Collections Component Guide
  2. Form input
  3. With autocomplete
Form input example

With autocomplete

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/input", {
  label: {
    text: "Automatically complete the field with a user's email address (in supporting browsers)"
  },
  name: "name",
  type: "email",
  autocomplete: "email"
} %>