Skip to content

Commit 08dca05

Browse files
benvinegarmattrobenolt
authored andcommitted
Merge pull request #2985 from getsentry/fix-saved-searches
ES6 classes in React don't autobind (fix saved searches)
1 parent d896d9d commit 08dca05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/static/sentry/app/components/forms/inputField.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default class InputField extends FormField {
5252
type={this.getType()}
5353
className="form-control"
5454
placeholder={this.props.placeholder}
55-
onChange={this.onChange}
55+
onChange={this.onChange.bind(this)}
5656
disabled={this.props.disabled}
5757
value={this.state.value} />
5858
);

0 commit comments

Comments
 (0)