Topic: the search bar does not work in the selection/
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(); });
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No