The theme disappears when I add a matcher in the select2 code

33 Views Asked by At

When I add the matcher in the select2, the bootstrap theme is gone. However, when I delete the matcher, the bootstrap theme reappears in the website. Is there a way to add the bootstrap theme and the matcher together?

$('.gas_a').select2({
  matcher: matchStart(params, data),
  theme: "bootstrap"
});
0

There are 0 best solutions below