如何在我的代码中将 Angular 2 控件标记为脏?
当我这样做时:
control.dirty = true;
我收到这个错误:
Cannot set property dirty of #<AbstractControl> which has only a getter
最佳答案
关于javascript - 如何以编程方式将 Angular 2 表单控件设置为脏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37844092/