From 6584f80ba3245c11ac687ea232ed43f8abc0b912 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Tue, 5 Dec 2023 11:09:55 -0800 Subject: [PATCH 1/2] Updating playground example to remove unused item prop --- src/playground/configs/templates/PlaygroundPage.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/playground/configs/templates/PlaygroundPage.vue b/src/playground/configs/templates/PlaygroundPage.vue index b9bd5db..1b16c4d 100644 --- a/src/playground/configs/templates/PlaygroundPage.vue +++ b/src/playground/configs/templates/PlaygroundPage.vue @@ -38,7 +38,6 @@ :icon-false-title="componentOptions.iconFalseTitle" :icon-true="componentOptions.iconTrue" :icon-true-title="componentOptions.iconTrueTitle" - :item="item" :label="componentOptions.label" :loading="item.loading" :loading-wait="componentOptions.loadingWait" @@ -79,7 +78,6 @@ :hide-cancel-icon="componentOptions.hideCancelIcon" :hide-details="componentOptions.hideDetails" :hide-selected="componentOptions.hideSelected" - :item="item" item-title="name" item-value="id" :items="users" @@ -125,7 +123,6 @@ :field-only="componentOptions.fieldOnly" :hide-cancel-icon="componentOptions.hideCancelIcon" :hide-details="componentOptions.hideDetails" - :item="item" :label="componentOptions.label" :loading="item.loading" :loading-wait="componentOptions.loadingWait" @@ -173,7 +170,6 @@ :field-only="componentOptions.fieldOnly" :hide-cancel-icon="componentOptions.hideCancelIcon" :hide-details="componentOptions.hideDetails" - :item="item" :label="componentOptions.label" :loading="item.loading" :loading-wait="componentOptions.loadingWait" @@ -239,7 +235,6 @@ :hide-cancel-icon="componentOptions.hideCancelIcon" :icon-false-title="componentOptions.iconFalseTitle" :icon-true-title="componentOptions.iconTrueTitle" - :item="item" :label="componentOptions.label" :loading="item.loading" :loading-wait="componentOptions.loadingWait" From ad25e2a3919d140bb91dfc5aa97f5e9ff60889ec Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Tue, 5 Dec 2023 11:10:46 -0800 Subject: [PATCH 2/2] Remove item prop --- src/stores/props.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/stores/props.ts b/src/stores/props.ts index 498172d..9edf651 100644 --- a/src/stores/props.ts +++ b/src/stores/props.ts @@ -170,12 +170,6 @@ const sharedProps = [ name: 'hide-details', type: 'boolean' }, - { - default: () => ({}), - desc: 'The item object', - name: 'item', - type: 'Record', - }, { default: undefined, desc: 'Label is not fully supported as the fields are intended for use in tables and the column header signifies what that column is for. You can set this prop to show the label but styling will not be ideal',