diff --git a/packages/components/select/src/select.ts b/packages/components/select/src/select.ts index 00aeb708..80e44466 100644 --- a/packages/components/select/src/select.ts +++ b/packages/components/select/src/select.ts @@ -78,11 +78,6 @@ export const selectProps = buildProps({ required: false, default: true, }, - selectDataTest: { - type: String, - required: false, - default: undefined, - }, dataTest: { type: String, required: false, diff --git a/packages/components/select/src/select.vue b/packages/components/select/src/select.vue index 49ca0c10..d868a5ed 100644 --- a/packages/components/select/src/select.vue +++ b/packages/components/select/src/select.vue @@ -22,7 +22,7 @@ tabindex="-1" :readonly="open" type="text" - :data-test="selectDataTest" + :data-test="`select-${dataTest}`" @input=" handleAutoComplete(($event.target as HTMLInputElement)?.value) "