We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d7a4ad + b9fa09d commit c2c4d94Copy full SHA for c2c4d94
1 file changed
src/SelectField/SelectField.js
@@ -84,6 +84,10 @@ class SelectField extends Component {
84
* Override the label style when the select field is inactive.
85
*/
86
labelStyle: PropTypes.object,
87
+ /**
88
+ * Override the default max-height of the underlying `DropDownMenu` element.
89
+ */
90
+ maxHeight: PropTypes.number,
91
/**
92
* Override the inline-styles of the underlying `DropDownMenu` element.
93
@@ -161,6 +165,7 @@ class SelectField extends Component {
161
165
hintText,
162
166
fullWidth,
163
167
errorText,
168
+ maxHeight,
164
169
menuStyle,
170
onFocus,
171
onBlur,
@@ -200,6 +205,7 @@ class SelectField extends Component {
200
205
autoWidth={autoWidth}
201
206
value={value}
202
207
onChange={onChange}
208
+ maxHeight={maxHeight}
203
209
>
204
210
{children}
211
</DropDownMenu>
0 commit comments