diff options
Diffstat (limited to 'webapp/components/suggestion')
-rw-r--r-- | webapp/components/suggestion/suggestion_box.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/suggestion/suggestion_box.jsx b/webapp/components/suggestion/suggestion_box.jsx index 3a8cd65cf..514227394 100644 --- a/webapp/components/suggestion/suggestion_box.jsx +++ b/webapp/components/suggestion/suggestion_box.jsx @@ -180,11 +180,13 @@ export default class SuggestionBox extends React.Component { /> ); } else if (type === 'search') { + const newProps = {...props}; + Reflect.deleteProperty(newProps, 'providers'); textbox = ( <input ref='textbox' type='search' - {...props} + {...newProps} onInput={this.handleChange} onKeyDown={this.handleKeyDown} /> |