I have a yadcf Select2 filter that looks like this:
{column_number : 1, filter_type: "select", select_type: "select2", style_class: "subjectFilter"}
I used style_class
to add a CSS class called subjectFilter
. This class shows up in the DOM, and it is attached to the select
box. However, the actual select2
dropdown doesn't obey the style (i.e. width) of the select
box. Is it possible to add a class to the <span>
tag that holds the .select-container
class?