![](/img/trans.png)
[英]How to add a value selected in the dropdown of the reactive form as an optional field in the object that creates the form?
我創建了一個 angular 反應形式。 我可以將名稱作為普通輸入字段輸入,然后在第二個下拉字段中輸入該類型的值。 有一種稱為憑證的類型,選擇它后,您可以在輸入字段中輸入用戶名和密碼。 對於非憑證類型(String、Int、Number)只能輸入值。 問題是我目前在表單值中創建一個 createt ...