diff --git a/src/components/VueBootstrapTypeahead.vue b/src/components/VueBootstrapTypeahead.vue index e172442..2aeb8d1 100644 --- a/src/components/VueBootstrapTypeahead.vue +++ b/src/components/VueBootstrapTypeahead.vue @@ -34,6 +34,8 @@ :text-variant="textVariant" :maxMatches="maxMatches" :minMatchingChars="minMatchingChars" + :loading="loading" + :loading-text="loadingText" @hit="handleHit" > @@ -94,7 +96,15 @@ export default { }, placeholder: String, prepend: String, - append: String + append: String, + loading: { + type: Boolean, + default: false + }, + loadingText: { + type: String, + default: 'Searching ...' + } }, computed: { diff --git a/src/components/VueBootstrapTypeaheadList.vue b/src/components/VueBootstrapTypeaheadList.vue index f404987..bf2e171 100644 --- a/src/components/VueBootstrapTypeaheadList.vue +++ b/src/components/VueBootstrapTypeaheadList.vue @@ -1,5 +1,10 @@