sergiodlopes / jquery-flexdatalist

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

Add no-results Event #193

Closed fuzzywalrus closed 3 years ago

fuzzywalrus commented 5 years ago

Currently, there isn't a no-results event to tap into, as the shown:flexdatalist.results does not fire when no results are found.

This change adds a no results that can be tapped into:

Example: $('input.flexdatalist').on('no-result', function(event, set, options)

sergiodlopes commented 3 years ago

Thank you!

added event 'empty:flexdatalist.results'