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

Commit

Permalink
Add isOpen property
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmotta authored and wtrocki committed Jan 27, 2021
1 parent 46e4cc4 commit 63f33c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SelectField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function RenderSelect(props: SelectInputProps) {
variant={props.fieldType === Array ? SelectVariant.typeaheadMulti : SelectVariant.single}
name={props.name}
placeholderText={props.placeholder}

isOpen={expanded}
selections={selected}
onToggle={() => setExpanded(!expanded) }
onSelect={handleSelect}
Expand Down

0 comments on commit 63f33c2

Please sign in to comment.