We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is a sample fiddle (http://jsfiddle.net/uQ685/).
Changing the code to use jQuery to grab container width is one way to resolve the problem.
AbstractChosen.prototype.container_width = function() { if (this.options.width != null) { return this.options.width; } else { //return "" + this.form_field.offsetWidth + "px"; return $(this.form_field).width() + "px"; // use jquery to calculate, as we don't want 0 } };
The text was updated successfully, but these errors were encountered:
You can initialize Chosen using a width to get around this:
$("select").chosen({ width: '350px' });
Duplicate of #92
Sorry, something went wrong.
It's closed, but I downloaded 1.0 and it's still happening. I tweaked the JS file according to the OP's suggestion and problem fixed.
FYI.
Thanks for a great library! :)
No branches or pull requests
Here is a sample fiddle (http://jsfiddle.net/uQ685/).
Changing the code to use jQuery to grab container width is one way to resolve the problem.
The text was updated successfully, but these errors were encountered: