This repo existed solely as a way to merge incomplete PR's into the most recent (also abandoned) fork of chosenJS If you are trying to start a new project with this library
- Don't do it
- Accept that this will likely never be updated
Extract the released zip into THEMES/js/chosen, for example, where THEME is your theme name.
In your THEME.libraries.yml:
chosen:
remote: https://github.com/ckng/chosen
version: 2.2.1
license:
name: MIT
url: https://github.com/ckng/chosen/blob/master/LICENSE.md
gpl-compatible: true
js:
js/chosen/chosen.jquery.min.js: { minified: true }
dependencies:
- core/jquery
chosen.css:
version: 2.2.1
css:
component:
js/chosen/chosen.css: {}
In your THEME.info.yml, override fully the default from chosen_lib.
libraries-override:
chosen_lib/chosen: THEME/chosen
chosen_lib/chosen.css: THEME/chosen.css
Chosen is a library for making long, unwieldy select boxes more user friendly.
- jQuery support: 1.7+
- Prototype support: 1.7+
For documentation, usage, and examples, see: https://ckng.github.io/chosen/
For downloads, see: https://github.com/ckng/chosen/releases/
This fork is not available on Package Managers Please use this repo harvest/chosen
We welcome all to participate in making Chosen the best software it can be. The repository is maintained by only a few people, but has accepted contributions from over 50 authors after reviewing hundreds of pull requests related to thousands of issues. You can help reduce the maintainers' workload (and increase your chance of having an accepted contribution to Chosen) by following the guidelines for contributing.
- Concept and development by Patrick Filler for Harvest
- Forked from JJJ/chosen
- Design and CSS by Matthew Lettini
- 1.8.x and earlier maintained by @pfiller, @kenearley, @stof, @koenpunt, and @tjschuck
- 2.0.x and later maintained by @ckng and contributors
- Chosen includes contributions by many fine folks