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

Commit af40df3

Browse files
committed
fix(FormSelect): add multiple prop
1 parent 542f1a3 commit af40df3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/Form/FormSelect.react.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type Props = {|
3232
+value?: string | number,
3333
+disabled?: boolean,
3434
+readOnly?: boolean,
35+
+multiple?: boolean,
3536
|};
3637

3738
function FormSelect(props: Props): React.Node {
@@ -55,6 +56,7 @@ function FormSelect(props: Props): React.Node {
5556
onPointerEnter,
5657
onPointerLeave,
5758
onClick,
59+
multiple,
5860
} = props;
5961
const classes = cn(
6062
{
@@ -85,6 +87,7 @@ function FormSelect(props: Props): React.Node {
8587
className={classes}
8688
disabled={disabled}
8789
readOnly={readOnly}
90+
multiple={multiple}
8891
>
8992
{children}
9093
</select>

0 commit comments

Comments
 (0)