Skip to content

Commit

Permalink
fix(select): always update value and text
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Jan 29, 2016
1 parent 8466d39 commit 58443f0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ionic/components/select/select.ts
Expand Up @@ -231,10 +231,8 @@ export class Select {

set value(val: any) {
// passed in value could be either an array, undefined or a string
if (this._disabled) {
this._values = (Array.isArray(val) ? val : isBlank(val) ? [] : [val]);
this.updateOptions();
}
this._values = (Array.isArray(val) ? val : isBlank(val) ? [] : [val]);
this.updateOptions();
}

get text() {
Expand Down

0 comments on commit 58443f0

Please sign in to comment.