Skip to content

Commit

Permalink
Fix onSubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
omegascorp committed Jul 15, 2017
1 parent 6f15486 commit 061650f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-modular-ui",
"version": "0.13.5",
"version": "0.13.6",
"main": "dist/index.js",
"typings": "typescript/index.d.ts",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default class Input extends AbstractComponent<IInputProps, {}> {
value={this.props.value}
disabled={this.props.disabled}
onChange={(event: React.ChangeEvent<HTMLInputElement>) => this.onEvent(event, this.props.onChange)}
onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => this.onEvent(event, this.props.onKeyDown)}
onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => this.onKeyDown(event)}
onKeyUp={(event: React.KeyboardEvent<HTMLInputElement>) => this.onEvent(event, this.props.onKeyUp)}
onKeyPress={(event: React.KeyboardEvent<HTMLInputElement>) => this.onEvent(event, this.props.onKeyPress)}
onFocus={(event: React.FocusEvent<HTMLInputElement>) => this.onEvent(event, this.props.onFocus)}
Expand Down

0 comments on commit 061650f

Please sign in to comment.