diff --git a/src/app/forms/components/govuk-form-group-autocomplete/govuk-form-group-autocomplete.component.ts b/src/app/forms/components/govuk-form-group-autocomplete/govuk-form-group-autocomplete.component.ts index b08f18503..6c55ee7ce 100644 --- a/src/app/forms/components/govuk-form-group-autocomplete/govuk-form-group-autocomplete.component.ts +++ b/src/app/forms/components/govuk-form-group-autocomplete/govuk-form-group-autocomplete.component.ts @@ -84,7 +84,7 @@ export class GovukFormGroupAutocompleteComponent this.options = options; const enhanceParams: AutocompleteEnhanceParams = { - id: this.labelId, + id: this.id, defaultValue: '', selectElement: this.document.querySelector(`#${this.id}`), autoselect: false,