sergiodlopes / jquery-flexdatalist

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

Disabled cache duplicates request to server #170

Open loshuliveros opened 6 years ago

loshuliveros commented 6 years ago

Hi Sergio, when i disable cache it always requests server 2 times with the same sent data (original, selected etc.). I need disable cache, because i would like to reduce the result list in multiple mode. On the server i remove possible items, which are already selected in flexdatalist input. It would be nice, if cached list of items (with enabled cache) will be dynamic and selected items will be removed from shown list. And after removing them from selected items they should be return back to list of possible items, and even better to the same position (index) where they were before selecting. I know, it doesn't add duplicity to selected values, when i click on item, which is already in selected items, but reduction of list should be very nice feature.