?
avatar brianteeman
brianteeman
10 Aug 2016

The version of chosen.js we use is 0.14 which is was released Jul 26, 2013
we made some small modifications to it but those modifications were included in a later release

The current version of chosen.js is 1.6.2 released 7 days ago. https://github.com/harvesthq/chosen/releases/tag/v1.6.2

Is there a specific reason we have not (are not) updating to this release.

Alternatively I have been looking at a replacement which is http://leaverou.github.io/awesomplete/ and it looks very impressive.

avatar brianteeman brianteeman - open - 10 Aug 2016
avatar brianteeman brianteeman - change - 10 Aug 2016
Category Accessibility Templates (admin) Templates (site) UI/UX
avatar brianteeman brianteeman - change - 10 Aug 2016
Status New Discussion
avatar brianteeman brianteeman - change - 10 Aug 2016
Labels Added: ?
avatar Fedik
Fedik - comment - 10 Aug 2016

Reason is B/C, somwhere here already was discussion about it, couple years ago.
I would chose Select2 (https://select2.github.io/) for replace.

Awesomplete it is the script for autocomplete, not for <select> styling, so not equal replacement ?

avatar brianteeman
brianteeman - comment - 10 Aug 2016

I realise its not a 1:1 replacement but my thought is that with autocomplete you dont need the selet styling - perhaps

avatar brianteeman
brianteeman - comment - 10 Aug 2016

I think the previous discussion was #6161

avatar dgt41
dgt41 - comment - 10 Aug 2016

@brianteeman the versions after the one that joomla is using expect different selectors which means b/c incompatibility for the existing scripts

avatar brianteeman
brianteeman - comment - 10 Aug 2016

Can we not fork the current one to get all the fixes and improvements and
just change the names in the fork?

avatar dgt41
dgt41 - comment - 10 Aug 2016

Honestly if we are about to do something for this script I would choose a ECMA6 native script. Searching in the chosen repo there is a PR with that code, and I guess someone already has a select2 native version

avatar mbabker
mbabker - comment - 10 Aug 2016

I would choose a ECMA6 native script

Except we still support IE8, and if http://kangax.github.io/compat-table/es6/ is any good even without listing that browser specifically, the odds of that being a possibility right now are slim to none.

avatar mbabker
mbabker - comment - 10 Aug 2016

Can we not fork the current one to get all the fixes and improvements and
just change the names in the fork?

Honestly, if we're going to fork something third party just for the sake of pulling updates, we're better off developing it in house suited to our use cases. It's bad enough we've already got (undocumented, and no the inline code comments don't count here) hacks in other third party media libraries.

avatar C-Lodder
C-Lodder - comment - 10 Aug 2016

I would suggest sticking with what we currently have until J4.x, then we can move to something better or update what we currently have without core hacking it

avatar brianteeman
brianteeman - comment - 11 Aug 2016

Closed - thanks for the answers

avatar brianteeman brianteeman - change - 11 Aug 2016
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2016-08-11 19:06:00
Closed_By brianteeman
avatar brianteeman brianteeman - close - 11 Aug 2016

Add a Comment

Login with GitHub to post a comment