Show datalist with bootstrap dropdown style.
Stack Overflow question: https://stackoverflow.com/questions/13693482/is-there-a-way-to-apply-a-css-style-on-html5-datalist-options
And answer: https://codepen.io/iamsidd_j/pen/qBRWNQQ?editors=1010
- Bootstrap 5.x
- Jquery 3.x
- Wrapper element with class 'datalist-wrapper' for each input and datalist pairs.
$(document).ready(function () {
$('.datalist-input').bootstrapDatalist();
})