diff --git a/src/components/Select/index.tsx b/src/components/Select/index.tsx index d6d6ff2..5e70037 100644 --- a/src/components/Select/index.tsx +++ b/src/components/Select/index.tsx @@ -17,6 +17,7 @@ type SelectProps = { errorMessage?: string; options: Array<{ value: any; label: string }>; value: string; + name: string; label?: string; fullWidth?: boolean; onChange: (event: React.ChangeEvent) => void; @@ -25,6 +26,7 @@ type SelectProps = { const Select = ({ color = 'client', label, + name, value, options, onChange, @@ -47,7 +49,7 @@ const Select = ({ )}
- {options.map((option) => ( ))}