I have run into an issue in pre-selecting values on a dropdown list in Angular 2.
I set an array of colours in the component which I bind successfully to the drop
Actually if You use ReactiveForms i found this way much easier to acomplish:
If the form is defined like this:
public formName = new FormGroup({
fieldName: new FormControl("test") //where "test is field default value"
});
Then thats the way You can change its value:
this.formName.controls.fieldName.setValue("test 2"); //setting field value to "test 2"