sergiodlopes / jquery-flexdatalist

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

Reference Error when using URL option - data is not defined #149

Closed nhaberl closed 6 years ago

nhaberl commented 6 years ago

https://github.com/sergiodlopes/jquery-flexdatalist/blob/2b5dcc3ee6b5266b474d3f8c022d0197c7de9a9a/jquery.flexdatalist.js#L1114

When using the url option the control doesn't even make a request to the server. I get an error which says data is not defined. (se line above)

we have used this settings

when using the dada-data property it seems to work nice.