fix(forms): do not reset the value of the input when it came from the view
This commit is contained in:
@ -9,6 +9,8 @@ export var uninitialized = new Object();
|
||||
|
||||
export class SimpleChange {
|
||||
constructor(public previousValue: any, public currentValue: any) {}
|
||||
|
||||
isFirstChange(): boolean { return this.previousValue === uninitialized; }
|
||||
}
|
||||
|
||||
var _simpleChangesIndex = 0;
|
||||
|
Reference in New Issue
Block a user