pespantelis / vue-typeahead

:mag: Typeahead component for Vue.js
http://pespantelis.github.io/vue-typeahead
MIT License
517 stars 98 forks source link

Add an error handler to fetch #63

Open tijn opened 6 years ago

tijn commented 6 years ago

Fetch could fail and it would appear to be "loading" forever.

The handler will call a hook function (handleError()) if it is defined. It's a lot like like how prepareResponseData() gets called.

luebbert42 commented 6 years ago

+1 for this PR.. :-)

tijn commented 4 years ago

@pespantelis can I grab your attention for a moment? Could you please merge this PR or maybe explain why it shouldn't be merged? It's been here for over 2 years now ... 😬