Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven authored Nov 1, 2023
1 parent 7aaec14 commit f18fac6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/KDropdown/KDropdownItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ const strippedAttrs = computed((): typeof attrs => {
delete modifiedAttrs.class
delete modifiedAttrs.disabled
delete modifiedAttrs.style
// Ensure the `data-testid` attribute is only applied to the top-most element
delete modifiedAttrs['data-testid']
return modifiedAttrs
Expand Down

0 comments on commit f18fac6

Please sign in to comment.