本文介绍了什么是updateValueAndValidity的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这些文档指出以下内容:

这是什么updateValueAndValidity?

推荐答案

您可以订阅控件或整个表单的值更改.

You can subscribe to value changes of a control or the whole form.

updateValueAndValidity允许您修改一个或多个表单控件的值,该标志允许您指定是否要向valueChanges订阅者发送该值.

updateValueAndValidity allows you to modify the value of one or more form controls and the flag allows you to specify if you want this to emit the value to valueChanges subscribers.

这篇关于什么是updateValueAndValidity的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 01:37