From f9604c5d8653c01ab7d6ac24415c267f226df97d Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 12 May 2021 13:49:50 +0300 Subject: [PATCH] Fixed #1239 - Add selectionLimit to MultiSelect --- src/components/multiselect/MultiSelect.d.ts | 2 ++ src/components/multiselect/MultiSelect.vue | 22 ++++++++++++++++++--- src/views/multiselect/MultiSelectDoc.vue | 12 +++++++++++ 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/src/components/multiselect/MultiSelect.d.ts b/src/components/multiselect/MultiSelect.d.ts index 24b1fa8df..6b87abcf5 100755 --- a/src/components/multiselect/MultiSelect.d.ts +++ b/src/components/multiselect/MultiSelect.d.ts @@ -25,6 +25,8 @@ interface MultiSelectProps { emptyMessage?: string; display?: string; panelClass?: string; + selectionLimit?: number; + showToggleAll?: boolean; } declare class MultiSelect { diff --git a/src/components/multiselect/MultiSelect.vue b/src/components/multiselect/MultiSelect.vue index 1ccb55529..85903f08e 100755 --- a/src/components/multiselect/MultiSelect.vue +++ b/src/components/multiselect/MultiSelect.vue @@ -27,8 +27,8 @@
-
-