From 5595f63d9b46313ad55fd0eb6aa94a19be38c5c3 Mon Sep 17 00:00:00 2001 From: Runyasak Chaengnaimuang Date: Mon, 28 Oct 2019 23:38:46 +0700 Subject: [PATCH 1/2] Add loading prop with text wrapped by p tag --- src/components/VueBootstrapTypeahead.vue | 7 ++++++- src/components/VueBootstrapTypeaheadList.vue | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/VueBootstrapTypeahead.vue b/src/components/VueBootstrapTypeahead.vue index e172442..a421537 100644 --- a/src/components/VueBootstrapTypeahead.vue +++ b/src/components/VueBootstrapTypeahead.vue @@ -34,6 +34,7 @@ :text-variant="textVariant" :maxMatches="maxMatches" :minMatchingChars="minMatchingChars" + :loading="loading" @hit="handleHit" > @@ -94,7 +95,11 @@ export default { }, placeholder: String, prepend: String, - append: String + append: String, + loading: { + type: Boolean, + default: false + } }, computed: { diff --git a/src/components/VueBootstrapTypeaheadList.vue b/src/components/VueBootstrapTypeaheadList.vue index f404987..2af2d49 100644 --- a/src/components/VueBootstrapTypeaheadList.vue +++ b/src/components/VueBootstrapTypeaheadList.vue @@ -1,5 +1,6 @@