homeoffice-countries
v0.1.0
Published
Exports a list of countries that can, for example, be used with Typeahead Aria
Downloads
1,609
Maintainers
Keywords
Readme
HomeOffice Countries
Exports a list of non-EU countries or EU and non-EU countries.
Can be used with the Typeahead Aria, which is exported with HOF Frontend Assets.
Example Usage
The following is an example of HomeOffice Countries in a HOF field
with Typeahead Aria:
'country-select'-step: {
mixin: 'select',
className: ['typeahead', 'js-hidden'],
options: [''].concat(require('homeoffice-countries').allCountries),
legend: {
className: 'visuallyhidden'
},
validate: ['required']
},