Fix #711
parent
b528ab1191
commit
abf91d3d24
|
@ -164,7 +164,8 @@ const factory = (Chip, Input) => {
|
|||
|
||||
suggestions () {
|
||||
let suggest = new Map();
|
||||
const query = (this.state.query || (!this.props.multiple ? this.props.value : '')).toLowerCase().trim() || '';
|
||||
const rawQuery = this.state.query || this.props.multiple ? '' : this.props.value;
|
||||
const query = (rawQuery || '').toLowerCase().trim();
|
||||
const values = this.values();
|
||||
const source = this.source();
|
||||
|
||||
|
|
Loading…
Reference in New Issue