Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ckamte/bootstrap-datalist

HTML Datalist with bootstrap dropdown style
https://github.com/ckamte/bootstrap-datalist

bootstrap bootstrap5 datalist datalist-control html html5 jquery-plugin

Last synced: 14 days ago
JSON representation

HTML Datalist with bootstrap dropdown style

Awesome Lists containing this project

README

        

## Datalist style with bootstrap
Show datalist with bootstrap dropdown style.

### Based on
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

### Requirements
1. Bootstrap 5.x
2. Jquery 3.x
3. Wrapper element with class '*datalist-wrapper*' for each input and datalist pairs.

### *Usage Example*
```
$(document).ready(function () {
$('.datalist-input').bootstrapDatalist();
})
```