Skip to content

Commit

Permalink
[Autocomplete] - Pass ListboxProps
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWiles committed Dec 18, 2019
1 parent c5f1b48 commit b89e53d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/material-ui-lab/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,11 @@ const Autocomplete = React.forwardRef(function Autocomplete(props, ref) {
<div className={classes.noOptions}>{noOptionsText}</div>
) : null}
{groupedOptions.length > 0 ? (
<ListboxComponent className={classes.listbox} {...getListboxProps()}>
<ListboxComponent
className={classes.listbox}
{...getListboxProps()}
{...ListboxProps}
>
{groupedOptions.map((option, index) => {
if (groupBy) {
return renderGroup({
Expand Down

0 comments on commit b89e53d

Please sign in to comment.