diff --git a/components/lib/multiselect/BaseMultiSelect.vue b/components/lib/multiselect/BaseMultiSelect.vue new file mode 100644 index 000000000..86d96f2ed --- /dev/null +++ b/components/lib/multiselect/BaseMultiSelect.vue @@ -0,0 +1,372 @@ + diff --git a/components/lib/multiselect/MultiSelect.d.ts b/components/lib/multiselect/MultiSelect.d.ts index 44556fb42..2fdb55228 100755 --- a/components/lib/multiselect/MultiSelect.d.ts +++ b/components/lib/multiselect/MultiSelect.d.ts @@ -503,6 +503,11 @@ export interface MultiSelectProps { * @type {MultiSelectPassThroughOptions} */ pt?: MultiSelectPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/multiselect/MultiSelect.vue b/components/lib/multiselect/MultiSelect.vue index 134fae484..be17b6be8 100755 --- a/components/lib/multiselect/MultiSelect.vue +++ b/components/lib/multiselect/MultiSelect.vue @@ -1,6 +1,6 @@ - - + + - - + + {{ label || 'empty' }} - + - {{ getLabelByValue(item) }} + {{ getLabelByValue(item) }} - - - + + + {{ placeholder || 'empty' }} @@ -43,38 +43,49 @@ - - - - + + + + - - + + - - + + - - - + + + - - - + + + - + - - + + - + {{ filterResultMessageText }} - - - + + + - + - + - + {{ getOptionGroupLabel(option.optionGroup) }} - - - + + + @@ -145,10 +152,10 @@ - + {{ emptyFilterMessageText }} - + {{ emptyMessageText }} @@ -159,13 +166,32 @@ - + {{ emptyMessageText }} - + {{ selectedMessageText }} - + @@ -174,7 +200,6 @@ - -