Skip to content

Commit

Permalink
Merge pull request #221 from BouyguesTelecom/fix/select-web
Browse files Browse the repository at this point in the history
fix select multiple
  • Loading branch information
JulienMora authored Dec 16, 2024
2 parents 31ce98d + c34bb9e commit edde4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/components/select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { SelectDynamic, SelectNative } from './web'
* * - -------------------------- NATIVE PROPERTIES -------------------------------
*/
const Select = ({ custom, multiple, ...props }: SelectProps): JSX.Element => {
if (custom || multiple) return <SelectDynamic {...props} />
if (custom || multiple) return <SelectDynamic {...props} multiple={multiple} />
return <SelectNative {...props} />
}

Expand Down

0 comments on commit edde4af

Please sign in to comment.