2.0.2 • Published 5 years ago

ms-uk-cities-and-towns v2.0.2

Weekly downloads
12
License
MIT
Repository
github
Last release
5 years ago

Modern Slavery UK Cities and Towns

Exports a list of UK Cities and Towns 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 UK Cities and Towns in a HOF field with Typeahead Aria:

'country-select'-step: {
  mixin: 'select',
  className: ['typeahead', 'js-hidden'],
  options: [''].concat(require('ms-uk-cities-and-towns')),
  legend: {
    className: 'visuallyhidden'
  },
  validate: ['required']
},