Please help me understand why the selected attribute does not always work in select fields. My form has 3 such fields, but the selected attribute worked in only one of them. Live demo here.
You are setting the initial value incorrectly. We cut it out, and in the createSubForm [selected]method, instead of an array of all possible values, we pass one to the FormControl constructor. Like so .