Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Commit

Permalink
Fixed issue where storybook react-autosuggest example would only add …
Browse files Browse the repository at this point in the history
…the first chip
  • Loading branch information
Stephen Heron committed May 13, 2020
1 parent 9801cda commit e7e002b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stories/examples/react-autosuggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class ReactAutosuggest extends React.Component {
getSuggestionValue={getSuggestionValue}
renderSuggestion={renderSuggestion}
onSuggestionSelected={(e, { suggestionValue }) => { this.handleAddChip(suggestionValue); e.preventDefault() }}
focusInputOnSuggestionClick={false}
focusInputOnSuggestionClick
inputProps={{
chips: this.state.value,
value: this.state.textFieldInput,
Expand Down

0 comments on commit e7e002b

Please sign in to comment.