Hi,
I can't find the js file in the new release under /public/
(index.html is referring to an unexisting chosen.jquery.js)
Is it possible that you missed it?
Thanks.
from what I can tell it is located here --> https://github.com/harvesthq/chosen-package
@kixes It says this file was updated "2 months ago"
1.7.0 was released 7 days ago
Edit: never mind, found it via CDN https://cdnjs.com/libraries/chosen
Whoops!
@koenpunt It looks like you forgot to include the built version on https://github.com/harvesthq/chosen/releases 鈥斅爐here are only the source code downloads there.
Also, the new feature that everyone has been waiting for (hide_results_on_select = false) does not seem to work :/
I can give more details but frankly you can simply implement the latest version and see that it is not working. The chosen-drop closes after making a single selection.
INPUTSELECTOR.chosen({
hide_results_on_select: false, //Will keep the dropdown open when selecting an option
hide_results_on_deselect: false //Will keep the dropdown open when deselecting an option
});
@flattt Yeah, I'd say something's up with the release. Based on the fact that https://github.com/harvesthq/chosen-package _was_ updated 7 days ago, but only for the version string in the package.json and in a CSS comment, it seems like the final version didn't get rolled into 1.7.0 properly. Stay tuned for an update from @koenpunt.
In the meantime, you can always build Chosen yourself from source. Instructions here.
Hm, I'll have a look this weekend
But the fact that the JS last changed 2 months ago is probably because that was the time the last PR was merged. But since the CSS gets a license comment on built, that has been updated at the time the tag was created.
@koenpunt Gotcha, that makes sense for the dates then.
Zip has been added: https://github.com/harvesthq/chosen/releases/tag/v1.7.0
But still worth investigating why the version/license comment isn't baked into the JS file of the package repo.