diff --git a/api-generator/components/treeselect.js b/api-generator/components/treeselect.js index 4833df6b7..878d8e58f 100644 --- a/api-generator/components/treeselect.js +++ b/api-generator/components/treeselect.js @@ -196,7 +196,7 @@ const TreeSelectSlots = [ description: 'Custom content when there is no data to display' }, { - name: 'indicator', + name: 'triggericon', description: 'Custom content for the dropdown indicator' }, { diff --git a/components/lib/treeselect/TreeSelect.d.ts b/components/lib/treeselect/TreeSelect.d.ts index ab0719ba2..b97820e08 100644 --- a/components/lib/treeselect/TreeSelect.d.ts +++ b/components/lib/treeselect/TreeSelect.d.ts @@ -148,8 +148,14 @@ export interface TreeSelectSlots { empty(): VNode[]; /** * Custom indicator template. + * @deprecated since v3.27.0. Use 'checkboxicon' slot. */ indicator(): VNode[]; + /** + * Custom indicator template. + * @deprecated since v3.27.0. Use 'checkboxicon' slot. + */ + triggericon(): VNode[]; /** * Custom item toggler icon template. * @param {Object} scope - item toggler icon slot's params. diff --git a/components/lib/treeselect/TreeSelect.vue b/components/lib/treeselect/TreeSelect.vue index 83eb4ae46..260fab955 100644 --- a/components/lib/treeselect/TreeSelect.vue +++ b/components/lib/treeselect/TreeSelect.vue @@ -38,7 +38,7 @@