mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(input): check if there is a value when setting value
This commit is contained in:
@ -142,6 +142,7 @@ export class InputBase {
|
|||||||
|
|
||||||
set value(val) {
|
set value(val) {
|
||||||
this._value = val;
|
this._value = val;
|
||||||
|
this.checkHasValue(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
|
Reference in New Issue
Block a user