ninjamsp-chosen

[Forked] from chosen v1.6.1 https://github.com/harvesthq/chosen. This fork includes the fuzzy-search PR (https://github.com/harvesthq/chosen/pull/2599/files) as well as custom modification specific to our app.

Usage no npm install needed!

<script type="module">
  import ninjamspChosen from 'https://cdn.skypack.dev/ninjamsp-chosen';
</script>

README

NinjaMSP Chosen Fork

Please use an online minifier to generate the dist version of the js file.

This fork includes

Custom 'add' option that allows the user to create an unavailable item directly from their search query. And an exact_match flag that will prevent the add option from appearing when a specific string is entered.

Fuzzy search sourced from: https://github.com/harvesthq/chosen/pull/2599/files [with minor bug fixes].