When hideing autocomplete, also remove completion state

This commit is contained in:
Luke Barnard 2017-08-08 17:25:11 +01:00
parent ca2273519d
commit cb8a66b5a1

View File

@ -172,7 +172,7 @@ export default class Autocomplete extends React.Component {
}
hide() {
this.setState({hide: true, selectionOffset: 0});
this.setState({hide: true, selectionOffset: 0, completions: [], completionList: []});
}
forceComplete() {