From 9cb2087a4c24a9557123a9c2e6ac50a3677ee9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 18 Nov 2020 07:19:36 +0100 Subject: [PATCH] Use ListItemIcon for Multiselect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- .../Multiselect/AvatarSelectOption.vue | 205 ------------------ src/components/Multiselect/Multiselect.vue | 50 ++++- 2 files changed, 45 insertions(+), 210 deletions(-) delete mode 100644 src/components/Multiselect/AvatarSelectOption.vue diff --git a/src/components/Multiselect/AvatarSelectOption.vue b/src/components/Multiselect/AvatarSelectOption.vue deleted file mode 100644 index a7ae014c2c..0000000000 --- a/src/components/Multiselect/AvatarSelectOption.vue +++ /dev/null @@ -1,205 +0,0 @@ - - -### User layout -By specifying `:user-select="true"`, you can benefit from a fully formatted layout. - -> **Note:** Any extra binding from the object will be added as attribute (`$attrs`) on the AvatarSelectOption root - -```vue - - - -``` - - - - - - - diff --git a/src/components/Multiselect/Multiselect.vue b/src/components/Multiselect/Multiselect.vue index 8140c725d1..1c07765b87 100644 --- a/src/components/Multiselect/Multiselect.vue +++ b/src/components/Multiselect/Multiselect.vue @@ -101,7 +101,45 @@ export default { ``` ### User layout -Please see the [AvatarSelectOption](#AvatarSelectOption) component +By specifying `:user-select="true"`, you can benefit from a fully formatted layout. + +> **Note:** Any extra binding from the object will be added as attribute (`$attrs`) on the ListItemIcon component used here + +```vue + + + +```