Topic: the search bar does not work in the selection/

TimTim pro asked 6 years ago


Good afternoon! The search for the selection list does not work if scrolling appears in the selection list.

<select class="mdb-select" id="organization" searchable="Поиск..">
<option value='0'>нет нужного варианта</option>
<? $court = ****;
foreach ($court as $row) {
echo "<option value='___'>"____"</option>";
}
?>
</select>$(document).ready(function() {
$('.mdb-select').material_select();
});

selection in the modal window!

Thanks!


TimTim pro answered 6 years ago


$(".mdb-select").find(".search").on("click", function (e) {
   e.preventDefault();
   $(this).focus();
});


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags