From 5c1ba53e6f68b57fb56d1274248bd9d9fcbc8a48 Mon Sep 17 00:00:00 2001 From: emyarod Date: Fri, 22 Jan 2021 12:07:10 -0800 Subject: [PATCH] fix(Search): prevent duplicate `onChange` handler call (#7613) --- packages/react/src/components/Search/Search.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/react/src/components/Search/Search.js b/packages/react/src/components/Search/Search.js index cad1f3aa8b55..0be106360656 100644 --- a/packages/react/src/components/Search/Search.js +++ b/packages/react/src/components/Search/Search.js @@ -140,8 +140,6 @@ export default class Search extends Component { this.setState({ hasContent: evt.target.value !== '', }); - - this.props.onChange(evt); }; handleKeyDown = (evt) => {