Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/SelectField/SelectField.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ class SelectField extends Component {
* Override the label style when the select field is inactive.
*/
labelStyle: PropTypes.object,
/**
* Override the default max-height of the underlying `DropDownMenu` element.
*/
maxHeight: PropTypes.number,
/**
* Override the inline-styles of the underlying `DropDownMenu` element.
*/
Expand Down Expand Up @@ -161,6 +165,7 @@ class SelectField extends Component {
hintText,
fullWidth,
errorText,
maxHeight,
menuStyle,
onFocus,
onBlur,
Expand Down Expand Up @@ -200,6 +205,7 @@ class SelectField extends Component {
autoWidth={autoWidth}
value={value}
onChange={onChange}
maxHeight={maxHeight}
>
{children}
</DropDownMenu>
Expand Down