When viewing a page with quick tabs, each tab containing a view with exposed filters, only the select fields on the initially-visible tab have Chosen applied to them. The other tabs show normal select widgets when their containing tab is clicked.
I was able to resolve this by adding a generic on-tab-clicked function that re-applies the Chosen functionality by adding to $(document).ready():
$(document).ready(function () {
// Apply Chosen() to <select> within quicktabs when the tab is clicked
$('.quicktabs-tabs li a').click(function() { $( Drupal.settings.chosen.selector ).chosen()});
});
Comments
Comment #1
stefanos.petrakisYou probably don't need this.
Look at /admin/config/user-interface/chosen
for the option "Apply Chosen to the following elements".
The default selector there is select:visible,
once you remove the ":visible" part your problem should be solved.
Comment #2
stefanos.petrakis