Package Exports
- ms-uk-regions
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ms-uk-regions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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']
},