With autocomplete for date of birth fields
Use the autocomplete_date_of_birth
option when you’re asking for the user’s date of birth. This supports browsers or tools that can autofill the information on a user’s behalf if they’ve entered it previously.
Note that the option should only be passed to the component if the date of birth asked for is the date of birth of the person filling the form in and not asked for on behalf of someone else.
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/date_input", {
autocomplete_date_of_birth: true
} %>