Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(containers/Login): fix input fields onChange
Browse files Browse the repository at this point in the history
fix(containers/Login): fix input fields onChange (add .bind(this))
  • Loading branch information
Metnew committed Oct 18, 2017
1 parent f382452 commit 486601e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/containers/Login/components/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class LoginComponent extends Component {
name="username"
label="Username"
value={username}
onChange={this.handleChange}
onChange={this.handleChange.bind(this)}
/>
<Form.Input
autoComplete="current-password"
Expand All @@ -77,7 +77,7 @@ class LoginComponent extends Component {
name="password"
label="Password"
value={password}
onChange={this.handleChange}
onChange={this.handleChange.bind(this)}
/>
<LoginButton content="Login" icon="sign in" />
</Form>
Expand Down

0 comments on commit 486601e

Please sign in to comment.