Skip to content

Commit

Permalink
fix: add touched on dropdown open (#228)
Browse files Browse the repository at this point in the history
fixes #225
  • Loading branch information
anjmao committed Feb 2, 2018
1 parent 77d36ca commit 7c5748e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ng-select/ng-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ export class NgSelectComponent implements OnInit, OnDestroy, OnChanges, AfterVie
this.itemsList.markSelectedOrDefault(this.markFirst);
this._scrollToMarked();
this._focusSearchInput();
this._onTouched();
this.openEvent.emit();
if (this.appendTo) {
this._updateDropdownPosition();
Expand Down

0 comments on commit 7c5748e

Please sign in to comment.