How to use accessible-autocomplete - 1 common examples

To help you get started, we’ve selected a few accessible-autocomplete examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alphagov / govuk-country-and-territory-autocomplete / src / index.js View on Github external
opts.additionalSynonyms = (opts.additionalSynonyms || []).concat(htmlAdditionalSynonyms)

  opts.source = opts.source || openregisterPickerEngine({
    additionalEntries: opts.additionalEntries,
    additionalSynonyms: opts.additionalSynonyms,
    url: opts.url,
    fallback: opts.fallback
  })

  opts.templates = opts.templates || {
    inputValue: inputValueTemplate,
    suggestion: suggestionTemplate
  }

  enhanceSelectElement(opts)
}

accessible-autocomplete

An autocomplete component, built to be accessible.

MIT
Latest version published 2 years ago

Package Health Score

72 / 100
Full package analysis

Popular accessible-autocomplete functions