material-ui-search-bar: Autocomplete not working with material-ui v1

Installed search bar npm install --save material-ui-search-bar@beta. auto-populating is not working.

<SearchBar value = {this.state.searchKey}
				onChange={(value) => {this.setState({searchKey:value})}}
              	                 onRequestSearch={this.onSearchRequest.bind(this)}
				dataSource = {this.state.source}
				
            />

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

We need to refactore it with something like https://github.com/moroshko/react-autosuggest