jQuery Chosen not working
- Status
- Closed
- Subject
- jQuery Chosen not working
- Version
- 19.x Regression
- Category
- Regression
- Feature
- Admin Interface (UI)
- Resolution status
- Fixed or Solved
- Submitted by
- Gary Cunningham-Lee
- Volunteered to solve
- Jorge Sá Pereira
- Lastmod by
- Jorge Sá Pereira
- Rating
- Description
After activating "Chosen", form labels and selectors are broken visually and selector dropdowns are displayed as standard HTML lists, so Chosen is not working at all. (Without Chosen the forms display and function as expected.)
The version of Chosen in trunk may need to be updated. The script vendor_bundled/vendor/jquery/plugins/chosen/chosen.jquery.js says Version 1.6.2 but at packagist.org the latest non-RC version is 1.8.7.
Whatever else was done for Chosen to work with Tiki/Bootstrap 3 probably needs to be done again.
There is also a library to give Chosen selectors Bootstrap 4 styling (https://haubek.github.io/
- not on Packagist.org as far as I can tell) but that could be checked out after Chosen is functioning properly.
UPDATE: After adding chosen.css as custom.css, the selectors work and look good (well, the look like jQuery Chosen selectors, not Bootstrap 4 selectors, but they do work. So the fix seems to be to reconnect the CSS, which I'll work on.
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6725
- Created
- Thursday 12 July, 2018 08:24:22 UTC
by Gary Cunningham-Lee - LastModif
- Monday 16 March, 2020 21:04:51 UTC