diff --git a/api-generator/components/autocomplete.js b/api-generator/components/autocomplete.js index 6144091e5..50aca3b11 100644 --- a/api-generator/components/autocomplete.js +++ b/api-generator/components/autocomplete.js @@ -77,6 +77,12 @@ const AutoCompleteProps = [ default: 'null', description: 'Default text to display when no option is selected.' }, + { + name: 'loading', + type: 'boolean', + default: 'false', + description: 'Whether the multiselect is in loading state.' + }, { name: 'disabled', type: 'boolean', diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts index 9f2e09df2..975ddfad9 100755 --- a/components/lib/autocomplete/AutoComplete.d.ts +++ b/components/lib/autocomplete/AutoComplete.d.ts @@ -305,6 +305,11 @@ export interface AutoCompleteProps { * Default text to display when no option is selected. */ placeholder?: string | undefined; + /** + * Whether the multiselect is in loading state. + * @defaultValue false + */ + loading?: boolean | undefined; /** * When present, it specifies that the component should be disabled. * @defaultValue false diff --git a/components/lib/autocomplete/AutoComplete.vue b/components/lib/autocomplete/AutoComplete.vue index 637bfbd4a..c7bb68c8e 100755 --- a/components/lib/autocomplete/AutoComplete.vue +++ b/components/lib/autocomplete/AutoComplete.vue @@ -87,7 +87,7 @@ /> - +