Skip to content

Commit

Permalink
fix(input): check has value on writeValue
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Jan 29, 2016
1 parent fe95281 commit 181a070
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ionic/components/input/input-base.ts
Expand Up @@ -181,8 +181,9 @@ export class InputBase {
* the checked value.
* https://github.com/angular/angular/blob/master/modules/angular2/src/forms/directives/shared.ts#L34
*/
writeValue(value) {
this._value = value;
writeValue(val) {
this._value = val;
this.checkHasValue(val);
}

/**
Expand Down

0 comments on commit 181a070

Please sign in to comment.