mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
fix(input): check has value on writeValue
This commit is contained in:
@ -181,8 +181,9 @@ export class InputBase {
|
|||||||
* the checked value.
|
* the checked value.
|
||||||
* https://github.com/angular/angular/blob/master/modules/angular2/src/forms/directives/shared.ts#L34
|
* https://github.com/angular/angular/blob/master/modules/angular2/src/forms/directives/shared.ts#L34
|
||||||
*/
|
*/
|
||||||
writeValue(value) {
|
writeValue(val) {
|
||||||
this._value = value;
|
this._value = val;
|
||||||
|
this.checkHasValue(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user