Skip to content

Commit

Permalink
fix(Select): Repair value update props display.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 18, 2017
1 parent 8bcd6d1 commit 4d4e48f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/select/Select.js
Expand Up @@ -56,6 +56,7 @@ export default class Select extends Component {
if (props.value !== this.state.value) {
this.setState({
value: props.value,
selectedLabel: this.showLabelText(props),
}, () => {
this.selectedData();
});
Expand Down

0 comments on commit 4d4e48f

Please sign in to comment.