Skip to content

Commit

Permalink
Merge pull request #2192 from srishanbhattarai/master
Browse files Browse the repository at this point in the history
Fix state value in README example
  • Loading branch information
JedWatson authored Dec 5, 2017
2 parents 04317f9 + 28bac8f commit 62cdd5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class App extends React.Component {
return (
<Select
name="form-field-name"
value={this.state.value}
value={this.state.selectedOption.value}
onChange={this.handleChange}
options={[
{ value: 'one', label: 'One' },
Expand Down

0 comments on commit 62cdd5d

Please sign in to comment.