stuttter / wp-chosen Goto Github PK
View Code? Open in Web Editor NEWMakes long, unwieldy select boxes much more user-friendly.
Home Page: https://wordpress.org/plugins/wp-chosen/
License: GNU General Public License v2.0
Makes long, unwieldy select boxes much more user-friendly.
Home Page: https://wordpress.org/plugins/wp-chosen/
License: GNU General Public License v2.0
See: https://core.trac.wordpress.org/ticket/47153
Left is current WP Chosen. Right is WordPress 5.3.
This looks like it only kicks in on the admin side of things? It can't be used for contact forms or anything like that on the front end? Is that true?
If a select is targeted with Chosen, but that select is hidden, Chosen is invoked with a 0
width.
This is particularly troublesome with metaboxes that can be open and closed.
When you're editing your own profile on a Multisite installation with WP User Profiles and WP Chosen active, the disabled dropdowns on the Permissions tab are Chosen-ified and you end up with a weird translucent dropdown on a disabled select.
Screenshot showing this disabled select with a ghostly dropdown:
Tested using WP Chosen 3.1.0, LearnDash LMS 2.4.6 and WordPress 4.8.1 (no other plugins active).
A snippet of the markup of the HTML element being altered by WP Chosen is:
<select multiple="multiple" class="learndash-binary-selector-items">
...
</select>
Tested using WP Chosen 3.1.0, SendGrid 1.11.4 and WordPress 4.8 (no other plugins active).
Note: SendGrid bundles Select2 4.0.3:
WordPress 5.5 added a new color scheme: Modern. We should support it!
At the same time, we need better fallback support for unknown or unsupported color schemes.
WP Chosen is messing with the WooCommerce selects.
I'm only testing this locally, but here's a gif of what happens when trying to set a static front page when one hasn't been set before enabling WP Chosen:
This is on WP 4.3.1
and I'm not seeing any JS errors in the console. If there's anything else I can provide that would be helpful for debugging please let me know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.