How do you update specific properties of a form model?

Posted by Jennifer | Updated on

You can use patchValue() method to update specific properties defined in the form model. For example, you can update the name and street of certain profile on click of the update button as shown below.

You can also use setValue method to update properties.

Note: Remember to update the properties against the exact model structure.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers