Skip to content

Commit

Permalink
Fixed #218
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Apr 19, 2016
1 parent b869010 commit 8662741
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ export class Dropdown implements OnInit,AfterViewInit,AfterViewChecked,DoCheck,O
this.optionsChanged = false;
}
}

writeValue(value: any) : void {
this.value = value;
this.updateLabel();
if(this.initialized) {

if(this.initialized && !this.optionsChanged) {
this.highlightValue();
}
}
}

registerOnChange(fn: Function): void {
Expand Down

0 comments on commit 8662741

Please sign in to comment.