Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 627 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 627 Bytes

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']
},