diff --git a/packages/_vue3-migration-test/src/x-modules/search/components/test-partial-results-list.vue b/packages/_vue3-migration-test/src/x-modules/search/components/test-partial-results-list.vue
index 78d136d273..463b8cca0b 100644
--- a/packages/_vue3-migration-test/src/x-modules/search/components/test-partial-results-list.vue
+++ b/packages/_vue3-migration-test/src/x-modules/search/components/test-partial-results-list.vue
@@ -13,7 +13,7 @@
The user has clicked on a partial query button!!
-
+
diff --git a/packages/x-components/src/x-modules/search/components/partial-query-button.vue b/packages/x-components/src/x-modules/search/components/partial-query-button.vue
index 3a155f744b..3aaa0f5e94 100644
--- a/packages/x-components/src/x-modules/search/components/partial-query-button.vue
+++ b/packages/x-components/src/x-modules/search/components/partial-query-button.vue
@@ -51,7 +51,7 @@
* @internal
*/
const createEventMetadata = (): Omit => ({
- target: partialButtonEl.value as HTMLElement,
+ target: partialButtonEl.value,
feature: 'partial_result'
});
@@ -66,8 +66,8 @@
};
return {
- emitEvents,
- partialButtonEl
+ partialButtonEl,
+ emitEvents
};
}
});