Product Type
$(’#filterProductType’).select2({
theme: “bootstrap-5”,
minimumResultsForSearch: Infinity,
data: @Html.Raw(Json.Serialize(Model.ProductTypes.OrderBy(p => p.Text)))
});
Given this small snippet of html and javascript, I would like to know why the select2 library is not inheriting the form-select-sm class placed on the select when drawing the options…the font-sizes do not match.