ms-uk-regions
v2.1.1
Published
Exports a list of uk regions for the modern slavery app into a usable format for hof select elements
Downloads
52
Maintainers
Readme
Modern Slavery UK Regions
Exports a list of UK Regions to be used in the modern slavery app.
Can be used with the Typeahead Aria, which is exported with HOF Frontend Assets.
Example Usage
The following is an example of Modern Slavery UK Regions in a HOF field
with Typeahead Aria:
'country-select'-step: {
mixin: 'select',
className: ['typeahead', 'js-hidden'],
options: [''].concat(require('ms-uk-regions')),
legend: {
className: 'visuallyhidden'
},
validate: ['required']
},