sampoyigi wrote
This might be related.
https://github.com/select2/select2/issues/4425
Try @SgtOddball's solution.
Make changes to the header.php file
The version of Select2 that TastyIgniter is using is:
Version: 3.5.1 Timestamp: Tue Jul 22 18:58:56 EDT 2014
The fix you provided was posted on 2016 so it does not fix the problem with v3.5.1.
I followed the issue (https://github.com/select2/select2/issues/1541) and found that this works:
<style>
.select2-focusser,
.select2-search,
.select2-search input {
display: none !important;
}
</style>
I tried placing the code in an existing CSS file but for some reason, the keyboard still shows up in that scenario.
I placed it in a new CSS file and imported via theme_config.php (viewer), and via header.php (admin).
Edit: I found out that the keyboard should be enabled for the menu edit page for adding menu options. So I also added the following if statement so that it would be enabled for that page in the admin side.
if (strpos($_SERVER['REQUEST_URI'], 'admin/menus/edit') == false) {
$this->template->setStyleTag('css/select2fix.css', 'stylesheet-css', '17'); //ivanzeta
}