Skip to content

Commit

Permalink
feat(CB2-14459): use correct id
Browse files Browse the repository at this point in the history
  • Loading branch information
pbardy2000 committed Dec 11, 2024
1 parent 63a883f commit 5d15d26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5d15d26

Please sign in to comment.