Reply To: Select2 with custom matcher function

#10035368
Support
Keymaster

Hello,

You can refer the select2 that comes bundled with Porto Admin.

The mentioned error means that select2 lib is not included on the page. Check if you have the script below added on footer of page:

<script src="vendor/select2/js/select2.js"></script>

* Make sure you add the script above before the js/custom.js script.

Also make sure to add the Select2 stylesheets on head of document:

<link rel="stylesheet" href="vendor/select2/css/select2.css" /> 
<link rel="stylesheet" href="vendor/select2-bootstrap-theme/select2-bootstrap.min.css" />

If even so the problem still persists, please send us a online test link with your website, so we can check what’s happening.

Please try that and let us know if you need further assistance.

Kind Regards,

Rodrigo.


If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads