sergiodlopes / jquery-flexdatalist

Flexible input autocomplete/datalist plugin for jQuery
http://projects.sergiodinislopes.pt/flexdatalist/
MIT License
365 stars 84 forks source link

make datalist results stay open on select #201

Closed stefanchiriac closed 5 years ago

stefanchiriac commented 5 years ago

Hello,

I have a datalist that allows multiple values. After I choose a value, I need the results list to stay open. There is a way to do this?

Thanks

stefanchiriac commented 5 years ago

found a workaround

$('input#select').on('select:flexdatalist', function(event, set, options) {
      $('#select-flexdatalist').click();
});