Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix(FormSelect): add multiple prop
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthomp committed Jun 1, 2019
1 parent 542f1a3 commit af40df3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Form/FormSelect.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type Props = {|
+value?: string | number,
+disabled?: boolean,
+readOnly?: boolean,
+multiple?: boolean,
|};

function FormSelect(props: Props): React.Node {
Expand All @@ -55,6 +56,7 @@ function FormSelect(props: Props): React.Node {
onPointerEnter,
onPointerLeave,
onClick,
multiple,
} = props;
const classes = cn(
{
Expand Down Expand Up @@ -85,6 +87,7 @@ function FormSelect(props: Props): React.Node {
className={classes}
disabled={disabled}
readOnly={readOnly}
multiple={multiple}
>
{children}
</select>
Expand Down

0 comments on commit af40df3

Please sign in to comment.