Skip to content

Commit

Permalink
fix(select): show real value in DOM (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelyke committed May 7, 2019
1 parent cc4fdb4 commit 1615434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select/select.js
Expand Up @@ -608,7 +608,7 @@ class Select extends React.Component<PropsT, SelectStateT> {
} else if (shouldShowValue(this.state, this.props)) {
return (
<Value
value={valueArray[0]}
value={valueArray[0][this.props.valueKey]}
disabled={this.props.disabled}
overrides={{SingleValue: overrides.SingleValue}}
{...sharedProps}
Expand Down

0 comments on commit 1615434

Please sign in to comment.