Skip to content

UKHomeOffice/homeoffice-countries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A list of countries can be used with Typeahead Aria

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published