Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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)
}