You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could there be an issue with the chosen dropdowns? I've got two installs, and on both the class "chosen" is not set, so the dropdowns are not initialised.
The text was updated successfully, but these errors were encountered:
I had problems with the "normal" DropdownField too.
I think it's because of the newly added BootstrapDropdownField(.php/.ss) which results in a DropdownField always being rendered with BootstrapDropdownField.ss (in your case: where $extraClass is not added to the select tag and the select tag is wrapped) even if i don't want that button/dropdown/toggle functions.
BootstrapFieldList.php line 55
$bootstrapCandidate = "Bootstrap{$className}"
Some other features weren't working as expected either (setEmptyString or setSource or Dropdownfield not working correctly with BootstrapDropdownField.ss and BootstrapDropdownField missing some features) - I don't remember exactly.
I wanted to add the bootstrap-select library (https://silviomoreto.github.io/bootstrap-select/) myself so I had to override the BootstrapDropdownField.ss template to get the standard DropdownField rendered (copied silverstripe-framework/templates/forms/DropdownField.ss and renamed it to BootstrapDropdownField.ss). Maybe this workaround works for the chosen-dropdown as well.
@unclecheese@colinedmz
Maybe the BootstrapDropdownField class and template should be renamed to BootstrapSelectDropdownField (or similar) to avoid those conflicts?
Could there be an issue with the chosen dropdowns? I've got two installs, and on both the class "chosen" is not set, so the dropdowns are not initialised.
The text was updated successfully, but these errors were encountered: