diff --git a/src/renderer/src/components/select/select.tsx b/src/renderer/src/components/select/select.tsx index 75b1d793..af9dce0f 100644 --- a/src/renderer/src/components/select/select.tsx +++ b/src/renderer/src/components/select/select.tsx @@ -9,13 +9,13 @@ export interface SelectProps > { theme?: NonNullable>["theme"]; label?: string; - options?: { key: any; value: any; label: string }[]; + options?: { key: string; value: string; label: string }[]; } export function Select({ value, label, - options = [{ key: value, value: value, label: "-" }], + options = [{ key: "-", value: value?.toString() || "-", label: "-" }], theme = "primary", onChange, }: SelectProps) {