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

Commit

Permalink
Merge pull request #9 from bitExpert/revert-7-revert-6-hotfix/emptyFi…
Browse files Browse the repository at this point in the history
…eldShowsNothing

Revert "Revert "Made empty text field show all items without changing focus.""
  • Loading branch information
dindong authored Mar 10, 2017
2 parents 8da1bad + be48b6f commit 732673c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/combo-box.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@ export class ComboBoxComponent implements ControlValueAccessor, OnInit {
clearTimeout(this._aheadTimer);
if (!this._currVal) {
this.sendModelChange(null);
if (!this.remote && this.localFilter) {
this.data = this._initialData;
}
return;
}

this._aheadTimer = setTimeout(this.loadData.bind(this), this.typeAheadDelay);
Expand Down

0 comments on commit 732673c

Please sign in to comment.