dynamic form

For a large number of forms, use

1.form.reset(), which is to clear the table. form.reset (key-value pair in JSON format), reset the form

2.form.set (key-value pair in JSON format), set the corresponding value of the form control. This is strictly one-to-one, otherwise an error will be reported.

3.form.patchValue (key-value pair in JSON format), set the corresponding value of the form control. But there is no set strictness, as long as there is a relative form control, the value will be set.

 

 

 

・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・・・・

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325224367&siteId=291194637