0.1.0 • Published 8 years ago

homeoffice-countries v0.1.0

Weekly downloads
44
License
GPLv3
Repository
github
Last release
8 years ago

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