Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

primeng dropdown formControlName setValue

this.myFormGroup.get("selectedCity").setValue(this.cities.find(city => city.name === "Istanbul"));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #primeng #dropdown #formControlName #setValue
ADD COMMENT
Topic
Name
9+5 =