diff --git a/app/src/components/globals/formItems/SelectItem.vue b/app/src/components/globals/formItems/SelectItem.vue index 8b1d9e6f..aa3aab18 100644 --- a/app/src/components/globals/formItems/SelectItem.vue +++ b/app/src/components/globals/formItems/SelectItem.vue @@ -1,36 +1,50 @@ diff --git a/app/src/types/form.ts b/app/src/types/form.ts index 12ef8caf..821e7ed6 100644 --- a/app/src/types/form.ts +++ b/app/src/types/form.ts @@ -72,3 +72,7 @@ export type InputItemProps = BaseWritableItemProps & { | 'time' | 'url' } + +export type SelectItemProps = BaseWritableItemProps & { + choices: string[] | { text: string; value: string }[] +}