We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b4bfec commit 984dff0Copy full SHA for 984dff0
src/select/base.jsx
@@ -198,7 +198,8 @@ export default class Base extends React.Component {
198
visible: 'visible' in props ? props.visible : props.defaultVisible,
199
dataSource: this.setDataSource(this.props),
200
width: 100,
201
- highlightKey: 'highlightKey' in props ? props.highlightKey : props.defaultHighlightKey,
+ highlightKey:
202
+ 'highlightKey' in props ? props.highlightKey : props.defaultHighlightKey || props.defaultValue,
203
srReader: '',
204
};
205
0 commit comments