diff --git a/components/lib/picklist/BasePickList.vue b/components/lib/picklist/BasePickList.vue index 37eaad275..7caeaaa4a 100644 --- a/components/lib/picklist/BasePickList.vue +++ b/components/lib/picklist/BasePickList.vue @@ -49,18 +49,11 @@ const classes = { sourceWrapper: 'p-picklist-list-wrapper p-picklist-source-wrapper', sourceHeader: 'p-picklist-header', sourceList: 'p-picklist-list p-picklist-source-list', - sourceItem: ({ instance, item, id, listIndex }) => [ - 'p-picklist-item', - { - 'p-highlight': instance.isSelected(item, listIndex), - 'p-focus': id === instance.focusedOptionId - } - ], buttons: 'p-picklist-buttons p-picklist-transfer-buttons', targetWrapper: 'p-picklist-list-wrapper p-picklist-target-wrapper', targetHeader: 'p-picklist-header', targetList: 'p-picklist-list p-picklist-target', - targetItem: ({ instance, item, id, listIndex }) => [ + item: ({ instance, item, id, listIndex }) => [ 'p-picklist-item', { 'p-highlight': instance.isSelected(item, listIndex), diff --git a/components/lib/picklist/PickList.d.ts b/components/lib/picklist/PickList.d.ts index 610ea12bc..c4683e16d 100755 --- a/components/lib/picklist/PickList.d.ts +++ b/components/lib/picklist/PickList.d.ts @@ -139,10 +139,6 @@ export interface PickListPassThroughOptions { * Uses to pass attributes to the source list's DOM element. */ sourceList?: PickListPassThroughOptionType; - /** - * Uses to pass attributes to the source item's DOM element. - */ - sourceItem?: PickListPassThroughOptionType; /** * Uses to pass attributes to the buttons' DOM element. */ @@ -178,7 +174,7 @@ export interface PickListPassThroughOptions { /** * Uses to pass attributes to the target item's DOM element. */ - targetItem?: PickListPassThroughOptionType; + item?: PickListPassThroughOptionType; /** * Uses to pass attributes to the target controls' DOM element. */ diff --git a/components/lib/picklist/PickList.vue b/components/lib/picklist/PickList.vue index 9ea41da58..09d102000 100755 --- a/components/lib/picklist/PickList.vue +++ b/components/lib/picklist/PickList.vue @@ -56,14 +56,14 @@
  • @@ -128,7 +128,7 @@