Skip to content

Commit

Permalink
fix(select): null value clears select text
Browse files Browse the repository at this point in the history
Closes #5288
  • Loading branch information
adamdbradley committed Feb 1, 2016
1 parent b4758b1 commit c264e31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ionic/components/select/select.ts
Expand Up @@ -294,9 +294,7 @@ export class Select {
* https://github.com/angular/angular/blob/master/modules/angular2/src/forms/directives/shared.ts#L34
*/
writeValue(val) {
if (!isBlank(val)) {
this.value = val;
}
this.value = val;
}

/**
Expand Down

0 comments on commit c264e31

Please sign in to comment.