diff --git a/src/components/ui/AppGroupedSelect.vue b/src/components/ui/AppGroupedSelect.vue
index 0f341d5c2..0f461c69f 100644
--- a/src/components/ui/AppGroupedSelect.vue
+++ b/src/components/ui/AppGroupedSelect.vue
@@ -11,6 +11,7 @@ import {
SelectTrigger,
SelectViewport
} from 'reka-ui'
+import { testId as testIdAttr, type TestIdProps } from '@open-pencil/vue'
import { useSelectUI } from '@/components/ui/select'
@@ -32,12 +33,13 @@ interface GroupedSelectUi {
separator?: string
}
-const { groups, displayValue, ui, testId } = defineProps<{
- groups: SelectGroupDef
[]
- displayValue: string
- ui?: GroupedSelectUi
- testId?: string
-}>()
+const { groups, displayValue, ui, testId } = defineProps<
+ TestIdProps & {
+ groups: SelectGroupDef[]
+ displayValue: string
+ ui?: GroupedSelectUi
+ }
+>()
const modelValue = defineModel({ required: true })
@@ -55,7 +57,7 @@ const separator = ui?.separator ?? 'mx-1 my-1 h-px bg-border'
-
+
{{ displayValue }}
diff --git a/src/components/ui/AppSelect.vue b/src/components/ui/AppSelect.vue
index ae0db58c0..1596ba0d8 100644
--- a/src/components/ui/AppSelect.vue
+++ b/src/components/ui/AppSelect.vue
@@ -11,6 +11,8 @@ import {
SelectViewport
} from 'reka-ui'
+import { testId as testIdAttr, type TestIdProps } from '@open-pencil/vue'
+
import { useSelectUI } from '@/components/ui/select'
import type { SelectUi } from '@/components/ui/select'
@@ -24,12 +26,13 @@ const {
placeholder,
ui,
testId = 'app-select-trigger'
-} = defineProps<{
- options: { value: T; label: string }[]
- placeholder?: string
- ui?: AppSelectUi
- testId?: string
-}>()
+} = defineProps<
+ TestIdProps & {
+ options: { value: T; label: string }[]
+ placeholder?: string
+ ui?: AppSelectUi
+ }
+>()
const modelValue = defineModel({ required: true })
@@ -44,7 +47,7 @@ const indicator = ui?.indicator ?? 'absolute left-1.5 inline-flex items-center j
-
+