From f18fac63d458a97e85331e4739d18b8a57867a64 Mon Sep 17 00:00:00 2001 From: Adam DeHaven <2229946+adamdehaven@users.noreply.github.com> Date: Wed, 1 Nov 2023 16:54:17 -0400 Subject: [PATCH] chore: add comment --- src/components/KDropdown/KDropdownItem.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/KDropdown/KDropdownItem.vue b/src/components/KDropdown/KDropdownItem.vue index e79e664572..3f5e90fccd 100644 --- a/src/components/KDropdown/KDropdownItem.vue +++ b/src/components/KDropdown/KDropdownItem.vue @@ -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