Fixes a typo under DOM Events

Changes `vlaue` to `value`.
This commit is contained in:
Spyridon D. Papaioannou 2017-10-21 23:14:30 +01:00 committed by GitHub
parent b1a2733ed1
commit 67614cbba3
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ class MyComponent extends React.Component {
}
onChange (event) {
this.setState({ value: event.target.vlaue })
this.setState({ value: event.target.value })
}
}
```