How do I mark an Angular 2 Control as dirty in my code?
When I do it like this:
control.dirty = true;
I get this error:
Cannot set property dirty of #<AbstractControl> which has only a getter
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…