📜  primeng dropdown formControlName setValue - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:24.410000             🧑  作者: Mango

代码示例1
this.myFormGroup.get("selectedCity").setValue(this.cities.find(city => city.name === "Istanbul"));