New issue
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
select_all_button => false not working for taxonomy multicheck #1005
Comments
Can you provide the config code you're using for this, so we can confirm it's a legitimate bug or possibly something from the config only or the site in question. Thanks. |
Real simple
Doesn't turn off the select all button. If you look at the code at line 67 of cmb2\includes\types\CMB2_Type_Taxonomy_Multicheck.php:
You are concating 'cmb2-checkbox-list cmb2-list' with 'no-select-all' resulting in 'cmb2-checkbox-list cmb2-listno-select-all' which kills the meaning of both 'cmb2-list' and 'no-select-all' 'cmb2-checkbox-list cmb2-list no-select-all' which works properly. |
Can confirm this in trunk, it's not in the release version of the plugin yet. |
Thank you |
I'm having the same problem, CMB2 version 2.2.5.3 |
Thank you for reporting @allysonsouza. Fixed in trunk and will be in the next release. |
select_all_button => false not working for taxonomy multicheck. Reason is it needs a space added in front of the 'no-select-all. Otherwise the class concatenation runs together
Line 70 of \cmb2\includes\types\CMB2_Type_Taxonomy_Multicheck.php should be:
$classes .= ' no-select-all';
(space in front of no-select-all
The text was updated successfully, but these errors were encountered: