Skip to content

Commit

Permalink
DD | Add loading icon when promise is invoked
Browse files Browse the repository at this point in the history
  • Loading branch information
dhivyada committed Apr 6, 2020
1 parent acbae3c commit 16bc54e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Autocomplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ export default {
return this.handlePromise(promise, (response) => this.handleFetchResponse(response))
},
handleCallback (promise) {
this.loading = true
return this.handlePromise(promise, (response) => this.handlePromiseResolution(response))
},
handlePromise (promise, responseHandler) {
Expand Down

0 comments on commit 16bc54e

Please sign in to comment.