<div class="govuk-form-group">
<label class="govuk-label" for="framework-autocomplete">Label</label>
<div id="framework-autocomplete-container"></div>
</div>
<script>
const frameworks = [
'Item 1',
'Item 2',
'Item 3',
'Item 4',
'Item 5 ',
]
accessibleAutocomplete({
element: document.querySelector('#framework-autocomplete-container'),
id: 'framework-autocomplete',
source: frameworks
})
</script>
<div class="govuk-form-group">
<label class="govuk-label" for="framework-autocomplete">Label</label>
<div id="framework-autocomplete-container"></div>
</div>
<script>
const frameworks = [
'Item 1',
'Item 2',
'Item 3',
'Item 4',
'Item 5 ',
]
accessibleAutocomplete({
element: document.querySelector('#framework-autocomplete-container'),
id: 'framework-autocomplete',
source: frameworks
})
</script>
/* No context defined for this component. */
There are no notes for this item.