Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在具有预填充值的角度形式中,我想创建一个由脏且有效的字段组成的对象,即当用户更改持有人值并且该更改有效时。我对简单验证没有任何问题,因为我在文档中找到了一些示例,但是如何处理这样一个以脏和有效为条件的对象?
我找到了一个很好的例子,我们可以看到验证状态:
演示Plunker
希望对你有帮助,