ms-nationalities
v1.0.1
Published
Exports a list of nationalities for the modern slavery app into a usable format for hof select elements
Maintainers
Readme
Modern Slavery Nationalities
Exports a list of Nationalities 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 Nationalities in a HOF field with Typeahead Aria:
'country-select'-step: {
mixin: 'select',
className: ['typeahead', 'js-hidden'],
options: [''].concat(require('ms-nationalities')),
legend: {
className: 'visuallyhidden'
},
validate: ['required']
},