diff --git a/components/autocomplete/Autocomplete.js b/components/autocomplete/Autocomplete.js index cadae3ed..5920a777 100644 --- a/components/autocomplete/Autocomplete.js +++ b/components/autocomplete/Autocomplete.js @@ -300,6 +300,10 @@ const factory = (Chip, Input) => { return obj; }, {}); + if (Object.keys(newItem).length === 0 && newValue) { + newItem[newValue] = newValue; + } + return this.handleChange(Object.assign(this.mapToObject(values), newItem), event); }